Skip to content
This repository was archived by the owner on Nov 21, 2026. It is now read-only.

Release: devN counts from 0, postN from 1, no aN/bN/rcN; the release workflow rejects other tag forms - #472

Merged
tae898 merged 1 commit into
mainfrom
release-version-rule
Oct 22, 2026
Merged

tae898 merged 1 commit into
mainfrom
release-version-rule

Conversation

@tae898

@tae898 tae898 commented Oct 22, 2026 •

Copy link
Copy Markdown

Closes 471.

  • release-python-packages.yml: the validate step now fails a tag that is not X.Y.Z, X.Y.Z.devN (N from 0, no leading zero) or X.Y.Z.postN (N from 1). The base-version sed only strips .devN/.postN now.
  • release.md, Version Numbering: one Counting line with the rule and why a number is never reused.

Checked: the regex against 26.10.2, 26.10.2.dev0, 26.10.2.dev12, 26.10.2.post1 (accepted) and 26.10.2.post0, 26.10.2a1, 26.10.2rc1, 26.10.2.dev01, 26.10.2.post (rejected); actionlint clean; pre-commit hooks pass. All 43 release tags on origin already fit the rule (checked with git ls-remote --tags origin).

🤖 Generated with Claude Code

…workflow rejects other tag forms

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@tae898
tae898 merged commit 77c3b24 into main Oct 22, 2026
4 checks passed
@tae898
tae898 deleted the release-version-rule branch October 22, 2026 06:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant