Skip to content

Commit bc3395c

Browse files
jdxclaude
andcommitted
fix: bump major version for breaking changes in release automation
git-cliff was not configured to bump the major version when commits use the conventional commit `!` breaking change indicator (e.g. `feat!:` or `feat!(scope):`). Add `[bump]` config with `breaking_always_bump_major = true`. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 15a13d3 commit bc3395c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

cliff.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ sort_commits = "oldest"
122122
# limit the number of commits included in the changelog.
123123
# limit_commits = 42
124124

125+
[bump]
126+
# Detect breaking changes from conventional commit `!` marker and footer
127+
breaking_always_bump_major = true
128+
125129
[remote.github]
126130
owner = "jdx"
127131
repo = "usage"

0 commit comments

Comments
 (0)