Repository navigation
ci(release): keep breaking changes on a minor bump while below 1.0 - #764
Merged
Merged
Conversation
LeMyst
force-pushed
the
ci/release-please-pre-major
branch
from
October 20, 2026 19:42
6c24ea2 to
e117a7b
Compare
release-please ran in single-package mode (`release-type: rust` on the action), which has no way to set bump-minor-pre-major. A breaking change (`feat!:` or a `BREAKING CHANGE:` footer) would therefore take 0.x straight to 1.0.0. Move the settings to .github/release-please-config.json with bump-minor-pre-major, so a breaking change bumps 0.38 to 0.39 like a feature does. include-component-in-tag is false to keep the `v0.39.0` tags and the "chore(main): release 0.39.0" title; the release branch is already release-please--branches--main--components--cookcli, so the open release PR is reused. The manifest, .github/.release-please-manifest.json, starts at the last release, 0.38.1. Both files sit in .github/ rather than release-please's default of the repository root, so the top level gains no files; the config-file and manifest-file inputs point the action at them. With a `release-type` input the action ignores the config file, so that input goes. `draft: true` goes too: release-please-action v4 dropped the input, and it has been ignored since. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01GYHHHngC4XZ4nfdgP4p3Pe
LeMyst
force-pushed
the
ci/release-please-pre-major
branch
from
October 20, 2026 19:54
e117a7b to
6448788
Compare
LeMyst
marked this pull request as ready for review
October 20, 2026 19:55
dubadub
approved these changes
Oct 20, 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 runs in single-package mode (
release-type: ruston the action), which has no way to setbump-minor-pre-major. A breaking change (feat!:or aBREAKING CHANGE:footer) would therefore take 0.x straight to 1.0.0. This came up on #650, which dubadub asked to mark as breaking.Changes
.github/release-please-config.json(new): package.withrelease-type: rustandbump-minor-pre-major: true, so a breaking change bumps 0.38 → 0.39 like a feature does.include-component-in-tag: falsekeeps the tags asv0.39.0and the release PR title as "chore(main): release 0.39.0".release-please--branches--main--components--cookcli, so the open release PR chore(main): release 0.39.0 #660 is reused, not duplicated..github/.release-please-manifest.json(new): starts at the last release,0.38.1. release-please updates it in each release PR..github/rather than at release-please's default location, the repository root, so the top level of the repo gains no files.bump-minor-pre-majorcan't be set through the action's inputs, so a config file is needed somewhere.release.yaml:config-fileandmanifest-filepoint the action at the two files.release-type: rustis removed. With that input set, the action builds its config from the inputs and ignores the config file (loadOrBuildManifestin release-please-action v5).draft: trueis removed. It isn't an input of release-please-action since v4, so it has had no effect. Releases are published as soon as release-please creates them: v0.38.1 was published 16 s after its commit, before any binary was attached. Behaviour stays as it is today. Turning drafts on for real is a separate change, because GitHub creates a draft release's tag only on publish and the build jobs check out that tag.Checks
--min-severity=low) are clean locally..github/.release-please-manifest.jsonbump to 0.39.0.🤖 Generated with Claude Code
https://claude.ai/code/session_01GYHHHngC4XZ4nfdgP4p3Pe