Skip to content

ci(release): refuse a stable that differs from its newest beta - #3543

Merged
datlechin merged 1 commit into
mainfrom
ci/release-stable-matches-beta
Oct 18, 2026
Merged

datlechin merged 1 commit into
mainfrom
ci/release-stable-matches-beta

Conversation

@datlechin

Copy link
Copy Markdown
Member

Why

version.py check only needs a published beta on the line before a stable X.Y.0. A pick merged after the newest beta ships in X.Y.0 without any tester running it.

Change

  • version.py check refuses a stable X.Y.0 whose tree differs from the newest published vX.Y.0-beta.N outside CHANGELOG.md and changelog.d/. The error names the paths.
  • Patches X.Y.Z are not compared.
  • RELEASING.md, What a tag runs: the verify bullet names the new refusal.

Verified

  • python3 -m unittest test_version in scripts/release on Python 3.9: the new case for a pick after the newest beta fails on main and passes here.
  • test_a_stable_needs_a_published_beta now tags the beta it publishes, since the check diffs against that tag.

@datlechin
datlechin merged commit d9fb437 into main Oct 18, 2026
18 checks passed
@datlechin
datlechin deleted the ci/release-stable-matches-beta branch October 18, 2026 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant