You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Automate install-guide preparation for minor release PRs #90
Every minor release PR fails CI until someone runs mise run release:prepare on the release branch and pushes a signed commit. Release Please bumps the version files, but the installation guides keep "~> 0.<old>.0" requirements, and release:check (in Static and in release_train_spec) rejects them as stale. This happened on #80 (0.2.0): 13 guide files needed ~> 0.1.0 changed to ~> 0.2.0.
The preparation commit is also fragile. Release Please rebuilds its branch from main whenever its generated body changes, which discards the commit, so preparation has to be redone after every releasable merge until the release is cut (docs/releasing.md already warns about this).
Options
Let Release Please update the guides. Add the guide files to extra-files with generic-updater markers. The catch is that the guides want ~> MAJOR.MINOR.0, not the full version, so a plain x-release-please-version marker would write ~> 0.2.1 on a patch release. Check whether the generic updater's component markers (x-release-please-major / -minor) or a block marker can express MAJOR.MINOR.0, or whether the guides can use a two-part requirement such as ~> 0.2 instead.
A workflow job that runs release:prepare on the release PR after each Release Please update and pushes the result. Commits from a bot can't use the maintainer's GPG key, so this needs a signing decision (for example, signed commits from a GitHub App, or exempting the release branch from the signing rule).
Keep the manual step and make the failure clearer, for example a PR comment from CI that says to run release:prepare.
Acceptance
A minor release PR is green without a manual preparation commit, or the remaining manual step is reduced to one clearly signposted action at release time.
Patch releases still change only version files, the manifest and the changelog.
docs/releasing.md describes the new flow.
Written on behalf of jimeh by claude-opus-5-5 using Claude Code via T3 Code.
Activity
ci(release): prepare installation guides on minor release PRs