Skip to content

fix: seed release-please's version baseline correctly - #13

Merged
dconlan merged 1 commit into
mainfrom
fix/release-please-version-baseline
Sep 3, 2026
Merged

fix: seed release-please's version baseline correctly#13
dconlan merged 1 commit into
mainfrom
fix/release-please-version-baseline

Conversation

@dconlan

@dconlan dconlan commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

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 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 at 0.5.0 to match the real v0.5 tag — meaning the next fix:/feat: commit correctly proposes 0.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

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>
@dconlan
dconlan merged commit 8b4982a into main Sep 3, 2026
4 checks passed
@dconlan
dconlan deleted the fix/release-please-version-baseline branch September 3, 2026 00:52
This was referenced Sep 3, 2026
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