fix: seed release-please's version baseline correctly - #13
Merged
Conversation
release-please-action's inline release-type:simple mode infers the last release purely from git tags matching strict semver (MAJOR.MINOR.PATCH). This repo's real release history uses 2-part tags for several releases (v0.2, v0.3, v0.4, v0.5), which release-please can't parse - so it silently anchored to the highest tag it COULD parse (v0.2.3) and proposed v0.2.4 as the next release. That's behind the actual latest release (v0.5) and would have collided badly once PR #5's v0.5.1/v0.5.2 work lands, had it been merged as-is. Switches to manifest mode (release-please-config.json + .release-please-manifest.json) so the starting version is explicit rather than inferred, seeded at 0.5.0 to match the real v0.5 tag. The open release-please PR (#12, currently proposing v0.2.4) needs to be closed so release-please regenerates it against the corrected baseline on the next push to main - it won't self-correct on its own since it already committed to the wrong starting point. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This was referenced Sep 3, 2026
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.
release-please-action's inline
release-type: simplemode infers the last release purely from git tags matching strict semver (MAJOR.MINOR.PATCH). This repo's real release history uses 2-part tags for several releases (v0.2,v0.3,v0.4,v0.5), which release-please can't parse — so it silently anchored to the highest tag it could parse (v0.2.3) and proposedv0.2.4as the next release in #12. That's behind the actual latest release (v0.5) and would have collided badly once PR #5's v0.5.1/v0.5.2 work lands, had it merged as-is.Switches to manifest mode (
release-please-config.json+.release-please-manifest.json) so the starting version is explicit rather than inferred, seeded at0.5.0to match the realv0.5tag — meaning the nextfix:/feat:commit correctly proposes0.5.1, matching what PR #5's own README already calls its first tranche.#12 (which proposed
v0.2.4) has been closed rather than left to self-correct, since release-please won't cleanly reconcile an already-proposed higher version against a corrected lower baseline on its own.Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com