563766c57c
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1.2 KiB
1.2 KiB
Release tooling: the repo version can no longer drift behind a shipped release
v0.2.1 was tagged from a repo still versioned 0.2.0 — its prep PR moved the changelog and wrote RELEASE.md but skipped the version bump that 0.2.0's prep performed — so every dev/source build compared itself against the published v0.2.1 and prompted about an update indefinitely, while release artifacts (stamped from the tag at build time) looked fine.
- Root and every
packages/*/package.jsonversion, plus core'sVERSIONconstant, are bumped to 0.2.1 to match the shipped release. - Both
release.ymlstamp steps (the release job and the parallel npm publish job) now refuse a tag push whose version does not match the repo'spackage.json, with the fix spelled out in the error. Manualworkflow_dispatchonly warns, so a legacy tag whose Release went missing can still be rebuilt from its own source; the installer-test fixtures self-skip the check (nopackage.jsonin the replay dirs), keeping the stamp block replayable byscripts/test-installer.sh. CONTRIBUTING.mddocuments the version bump as an explicit release-prep step alongside the changelog rename and RELEASE.md.