chore(release): make release-v14 the stable v14 line - #3303
Conversation
`release-v14` becomes the branch semantic-release publishes to npm `latest` from. `master` becomes a prerelease branch that publishes release candidates to `rc`, ready for v15 to land on it. The `rc` channel is set explicitly: semantic-release otherwise publishes a prerelease branch under a dist-tag named after the branch. The bundle-size check also runs for PRs into `release-v14`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the βοΈ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Size Change: -2.72 kB (-0.25%) Total Size: 1.09 MB π¦ View Changed
βΉοΈ View Unchanged
|
Codecov Reportβ
All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release-v14 #3303 +/- ##
==============================================
Coverage ? 85.48%
==============================================
Files ? 512
Lines ? 16195
Branches ? 5127
==============================================
Hits ? 13844
Misses ? 2351
Partials ? 0 β View full report in Codecov by Harness. π New features to boost your workflow:
|
π― Goal
Make
release-v14the stable v14 line before v15 lands onmaster.When this PR merges:
release-v14publishes 14.x releases to npmlatest.masterbecomes a prerelease branch that publishes v15 release candidates (15.0.0-rc.N) to npmrc.The
release-v14branch itself was pushed at the 14.12.0 release commit (0fb5ac306), so it currently matchesmaster.π Implementation details
.releaserc.json: the branch list becomes:release-v14is a release branch, not a maintenance branch. semantic-release needs at least one release branch, and a prerelease branch doesn't count. Sorelease-v14can't be limited to14.x, and it must not receive breaking changes.mastersets"channel": "rc"explicitly. Without it, semantic-release publishes a prerelease branch under a dist-tag named after the branch (master)..github/workflows/size.yml: the bundle-size check also runs for PRs intorelease-v14. The CI workflow already runs on PRs into any branch, and the Release workflow already allows branches starting withrelease.β Verification
I ran a local dry run of semantic-release 25.0.3 against a throwaway copy of the repo, with both branches recreated there: this commit on
release-v14, andmasterwith v15 merged:release-v14, it foundv14.12.0and no releasable commits, so there's no new version.masterwith v15 merged, it proposed15.0.0-rc.1on thercchannel.After this merges, run the Release workflow on
release-v14in dry-run mode. It checks the real tokens and GitHub branches, and should also report no new version.mastermasterstill carries its old config (masterβlatest) until the v15 merge lands. Until then, don't run the Release workflow on either branch, and keepmasterfrozen.