ci: pin eds-core-react-next beta releases to a fixed 3.0.0-beta.N series - #5190
Conversation
|
Dry-run verification (
End-to-end proof lands with the next |
|
@claude review |
|
Claude finished @pomfrida's task in 3m 37s —— View job Review: PR #5190 — pin
|
|
Thanks for the review — addressing the three points: 1 (breaking- 2 (doc framing "imprecise"): Pushing back on this one — the source says the opposite of the suggested correction. A prerelease suffix alone is not sufficient for counter-only bumps:
So "at 3 (key ordering): Fixed in bb35fd9 — the |
Why
The
/next(EDS 2.0) beta channel rolled its version base on everyfeat(next)(2.6.0-beta.0 → 2.7.0-beta.1 → 2.8.0-beta.1), presenting the betas as previews of stable 2.x minors. EDS 2.0 graduates as3.0.0, so betas should be a fixed3.0.0-beta.Nseries where only the counter climbs.Closes #5141
What
Adds
"versioning": "prerelease"+"prerelease": trueto theeds-core-react-nextentry inrelease-please-config.json— the same configurationeds-tokensalready uses, validated by the 2026-07-20 release (eds-tokens 3.0.0-beta.0 → 3.0.0-beta.1from afeatwithout rolling the base).With the base at
3.0.0-beta.N(minor and patch both 0), release-please'sprereleaseversioning strategy bumps only the beta counter for every commit type:fix(next):feat(next):fix(next)!:/feat(next)!:At graduation, flipping
"prerelease": false(or aRelease-As: 3.0.0footer) emits stable3.0.0.Deviation from the issue
#5141 prescribed custom version automation in
publish_core_react.yaml, on the premise that release-please cannot pin the base. Verified against release-please v17 source (src/versioning-strategies/prerelease.ts, bundled as 17.6.0 inrelease-please-action@v5): the premise is outdated —versioning: "prerelease"pins the base natively as long as minor/patch are 0. No workflow changes are needed: the publish workflow readsversion.txt, which release-please owns, and.github/release-please-manifest.json+version.txtare already at3.0.0-beta.1after the 2026-07-20 release, so no reset/bootstrap step is needed either.Docs updated accordingly (
release-please-config.md,BETA_RELEASE_GUIDE.md), including replacing the "no!in beta commits" rule:!is now safe (the base cannot roll) and preferred, since it produces a "⚠ BREAKING CHANGES" section for consumers.Verification
release-please release-pr --dry-runagainst this branch: config parses, strategy accepted (result posted in comments)./nextmerge to main must produce a release PR witheds-core-react-next: 3.0.0-beta.2.