Repository navigation
Release: a patch of 0 is left off (1.5, not 1.5.0) - #207
Merged
Merged
Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
fleon
marked this pull request as ready for review
November 22, 2026 22:04
|
Claude review (house rules) |
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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) buildsx.(y+1).0and passes it through the newwithoutZeroPatch.version.js --releaseand the nightly use it when a version has an approved release.AGENTS.md("Signing and stores") andTools/Release/README.mdstate the rule: a patch of 0 is left off, and any other patch stays.sameVersiondrops 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 are1.4.1 → 1.5,1.5.0 → 1.6and1.7 → 1.8, pluswithoutZeroPatchkeeping 1.4.1 and 2.0 and shortening 1.5.0 and 1.10.0.