ci: keep release-please pre-1.0 (bump-minor-pre-major) - #6
Merged
Conversation
Without this flag release-please bumps 0.x to 1.0.0 on the first `feat`, which just proposed 1.0.0 for the Phase 1 scaffold. `bump-minor-pre-major` makes features bump the minor while the major is 0, so the first release is 0.1.0 and breaking changes stay in 0.x until we intentionally cut 1.0.0.
Greptile SummaryConfigures release-please to preserve pre-1.0 semantic versioning.
Confidence Score: 5/5The PR appears safe to merge, with no actionable defects identified in the release configuration change. The change is narrowly scoped to enabling release-please’s pre-major minor-bump behavior and does not alter application code or unrelated release settings. Important Files Changed
Reviews (1): Last reviewed commit: "ci: keep release-please pre-1.0 (bump-mi..." | Re-trigger Greptile |
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 proposed 1.0.0 for the Phase 1 scaffold (release PR #2) because the config had no pre-major bump flag — a
featon 0.x defaults to 1.0.0.Add
"bump-minor-pre-major": trueso features bump the minor while the major is 0. After this merges, release-please re-runs and updates PR #2 from 1.0.0 → 0.1.0; breaking changes stay in 0.x until we intentionally cut 1.0.0.No code change — release automation config only.
Summary by cubic
Keep
release-pleasein pre-1.0 mode by addingbump-minor-pre-major: true, sofeaton 0.x bumps the minor instead of jumping to 1.0.0. This shifts the next release from 1.0.0 to 0.1.0 and keeps breaking changes in 0.x until we choose 1.0.0.Written for commit 15b4b98. Summary will update on new commits.