From 8fed15db2e8ac361ce972dfe418e27af2dca13dc Mon Sep 17 00:00:00 2001 From: David Conlan Date: Thu, 3 Sep 2026 10:41:09 +1000 Subject: [PATCH] fix: seed release-please's version baseline correctly 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 --- .github/workflows/release-please.yml | 3 ++- .release-please-manifest.json | 3 +++ release-please-config.json | 7 +++++++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .release-please-manifest.json create mode 100644 release-please-config.json diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 5489d18..75f6341 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -14,4 +14,5 @@ jobs: steps: - uses: googleapis/release-please-action@v5 with: - release-type: simple + config-file: release-please-config.json + manifest-file: .release-please-manifest.json diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..f1c1e58 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "0.5.0" +} diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..affa12d --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,7 @@ +{ + "packages": { + ".": { + "release-type": "simple" + } + } +}