Release tooling: Release stable releases from latest-release#24106
Conversation
|
@JReinhold what's the status of this PR? |
|
@ndelangen still needs some minor tweaks before it's mergeable. |
|
One thing missing here, is figuring out how to label patch PRs as patched. This works fine when we do an actual patch release, cherry-picking pull requests from Some solutions:
@kasperpeulen @shilman any ideas? I would also be okay to punt this, and then just make it a manual step to label all patch PRs when we do major/minor releases from |
|
@shilman as discussed I made some changes:
I believe this PR is ready to be merged. |
|
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
…rybook into release-stable-to-latest
Release tooling: Release stable releases from `latest-release` (cherry picked from commit 9139e90)
|
Manually cherry-picked to |
…latest" This reverts commit 43825e0.
What I did
This PR changes a few things about the release setup, most notably stable releases from
nextwill now be released onlatest-releaserather than onnext-release.latest-releaseif a non-prerelease version bump is chosen.latest-releaseinto the branch, resolving any conflicts to the branch's content - to solve any merge conflicts.latest-releasetomainas usual - this shouldn't cause any merge conflicts given that they have already been resolved.main, we trigger a preminor version bump onnextto ensurenextis always one minor version ahead ofmain.Checklist for Contributors
Testing
The changes in this PR are covered in the following automated tests:
Manual testing
We need to test this out manually, however it's very hard to do. I think we have to just watch the workflow as it happens live during our next minor release. I'll gladly be responsible for that.
I have tested all the individual pieces locally, the new shell scripts and all.
Documentation
MIGRATION.MD
Checklist for Maintainers
When this PR is ready for testing, make sure to add
ci:normal,ci:mergedorci:dailyGH label to it to run a specific set of sandboxes. The particular set of sandboxes can be found incode/lib/cli/src/sandbox-templates.tsMake sure this PR contains one of the labels below:
Available labels
bug: Internal changes that fixes incorrect behavior.maintenance: User-facing maintenance tasks.dependencies: Upgrading (sometimes downgrading) dependencies.build: Internal-facing build tooling & test updates. Will not show up in release changelog.cleanup: Minor cleanup style change. Will not show up in release changelog.documentation: Documentation only changes. Will not show up in release changelog.feature request: Introducing a new feature.BREAKING CHANGE: Changes that break compatibility in some way with current major version.other: Changes that don't fit in the above categories.🦋 Canary release
This PR does not have a canary release associated. You can request a canary release of this pull request by mentioning the
@storybookjs/coreteam here.core team members can create a canary release here or locally with
gh workflow run --repo storybookjs/storybook canary-release-pr.yml --field pr=<PR_NUMBER>