Skip to content

fix(ci): bump-minor-pre-major so breaking changes stay in 0.x#31

Merged
maniramezan merged 1 commit into
mainfrom
fix/release-please-pre-major
Jun 6, 2026
Merged

fix(ci): bump-minor-pre-major so breaking changes stay in 0.x#31
maniramezan merged 1 commit into
mainfrom
fix/release-please-pre-major

Conversation

@maniramezan
Copy link
Copy Markdown
Owner

Problem

Release Please opened PR #29 proposing 1.0.0 because commit #26 (rename SelectionSheet → SelectionList) included a BREAKING CHANGE: footer. By default, Release Please follows semver strictly and treats any breaking change as a major bump — even in 0.x.

Fix

Add bump-minor-pre-major: true to release-please-config.json. This tells Release Please to treat breaking changes as minor bumps while the major version is still 0, so the next release will be 0.6.0 instead of 1.0.0.

After merging

Close PR #29 (chore(main): release 1.0.0) and re-run (or let CI trigger) the Release Please workflow. It will re-calculate and open a new PR proposing 0.6.0.

Without this flag Release Please treats a BREAKING CHANGE footer as a
major bump even while the version is still 0.x, producing 1.0.0 instead
of 0.6.0. Setting bump-minor-pre-major: true keeps breaking changes in
the minor segment until we explicitly decide to ship v1.
@maniramezan maniramezan merged commit 4c7651e into main Jun 6, 2026
2 checks passed
@maniramezan maniramezan deleted the fix/release-please-pre-major branch June 6, 2026 18:21
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