Skip to content

fix: anchor release-please to v3.0.0 release commit#686

Closed
nieblara wants to merge 1 commit intomainfrom
rniebla/fix-release-please-v3
Closed

fix: anchor release-please to v3.0.0 release commit#686
nieblara wants to merge 1 commit intomainfrom
rniebla/fix-release-please-v3

Conversation

@nieblara
Copy link
Copy Markdown
Contributor

@nieblara nieblara commented Apr 15, 2026

Summary

Fixes the release-please version regression from 3.0.0 to 0.12.1.

Root cause: The release-type: "go" config caused release-please to walk all 698 commits from the beginning of the repo because no v3.0.0 git tag exists. The Go release-type also enforces Go module path conventions (requiring /v3 suffix for major versions >= 2), which this CLI binary doesn't follow.

Fix:

  • Changed release-type from "go" to "simple" — uses the manifest as source of truth, no Go module path conventions
  • Added last-release-sha pointing to the 3.0.0 release commit (caa1fd2) so release-please only considers commits after that point

After this merges, release-please should correctly create a 3.0.1 release PR. PR #685 (the regressed 0.12.1 PR) should be closed.

Made with Cursor


Note

Low Risk
Configuration-only change to release automation; no runtime code paths affected, but it can change how future versions/changelogs are computed.

Overview
Updates release-please-config.json to switch the root package release-type from go to simple, avoiding Go module/versioning conventions.

Pins release-please’s starting point by adding last-release-sha for the v3.0.0 release commit so only commits after that SHA are considered for future release PRs.

Reviewed by Cursor Bugbot for commit 0b10bc9. Bugbot is set up for automated code reviews on this repo. Configure here.

The Go release-type was walking the entire 698-commit history because
no v3.0.0 git tag exists, causing version regression to 0.12.1.

- Change release-type from "go" to "simple" to avoid Go module path
  conventions requiring /v3 suffix for major versions >= 2
- Add last-release-sha pointing to the 3.0.0 release commit so
  release-please only considers commits after that point

Made-with: Cursor
@nieblara nieblara closed this Apr 16, 2026
@nieblara nieblara deleted the rniebla/fix-release-please-v3 branch April 16, 2026 02:31
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