Skip to content

Release: a patch of 0 is left off (1.5, not 1.5.0) - #207

Merged
fleon merged 3 commits into
mainfrom
release-minor-without-patch
Nov 22, 2026
Merged

fleon merged 3 commits into
mainfrom
release-minor-without-patch

Conversation

@fleon

@fleon fleon commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

A version leaves off a patch of 0: 1.5.0 is written 1.5. Any other patch stays, so 1.4.1 is still 1.4.1. The next minor version is still x.(y+1).0, written without its 0, so 1.4.1 goes to 1.5 and 1.5 to 1.6.

  • bumpMinor (Tools/Release/lib.js) builds x.(y+1).0 and passes it through the new withoutZeroPatch. version.js --release and the nightly use it when a version has an approved release.
  • AGENTS.md ("Signing and stores") and Tools/Release/README.md state the rule: a patch of 0 is left off, and any other patch stays.
  • The store lookups already treat 1.5 and 1.5.0 as the same version (sameVersion drops trailing .0s), so a store record named either way still matches. Android's version name already left off a patch of 0.

Checked

  • node --test Tools/Release/release.test.js: 14 pass. The cases are 1.4.1 → 1.5, 1.5.0 → 1.6 and 1.7 → 1.8, plus withoutZeroPatch keeping 1.4.1 and 2.0 and shortening 1.5.0 and 1.10.0.
  • JavaScript and docs only, so no Swift build or screenshots.

Co-Authored-By: Claude <noreply@anthropic.com>
@fleon
fleon marked this pull request as ready for review November 22, 2026 22:04
Comment thread Tools/Release/release.test.js Resolved
@claude

claude Bot commented Nov 22, 2026

Copy link
Copy Markdown

Claude review (house rules)
Reviewed 4 files (AGENTS.md, Tools/Release/README.md, lib.js, release.test.js) and read AGENTS.md as the rules file (this repository has no CONTRIBUTING.md at its root to apply here).
Left 1 inline comment.

Co-Authored-By: Claude <noreply@anthropic.com>
@fleon fleon changed the title Release: the next minor version has no patch, 1.4.1 to 1.5 Release: a patch of 0 is left off (1.5, not 1.5.0) Nov 22, 2026
Co-Authored-By: Claude <noreply@anthropic.com>
@fleon
fleon merged commit 2e4e7c7 into main Nov 22, 2026
11 checks passed
@fleon
fleon deleted the release-minor-without-patch branch November 22, 2026 22:13
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