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
If the scope mentioned in a commit message contains a space, and this commit mentions a breaking change, git-cliff bumps the patch version instead of the major version.
The space in the scope with the breaking flag are properly rendered in the changelog.
Steps To Reproduce
Create an initial tag 1.0.0 on a Git repo
$ git tag 1.0.0
Create a commit with a breaking change and a space in the commit message scope :
$ git commit --allow-empty -m 'feat(my scope)!: this is a test commit'
NB : The BREAKING CHANGE commit footer leads to the same behavior
Invoke git-cliff to get next bumped version :
$ git-cliff --bumped-version
1.0.1
Expected behavior
The major version is bumped (version 2.0.0 is returned by git-cliff --bumped-version)
Is there an existing issue for this?
Description of the bug
If the scope mentioned in a commit message contains a space, and this commit mentions a breaking change, git-cliff bumps the patch version instead of the major version.
The space in the scope with the breaking flag are properly rendered in the changelog.
Steps To Reproduce
$ git commit --allow-empty -m 'feat(my scope)!: this is a test commit'
NB : The BREAKING CHANGE commit footer leads to the same behavior
Expected behavior
The major version is bumped (version 2.0.0 is returned by
git-cliff --bumped-version
)Screenshots / Logs
No response
Software information
git-cliff-2.7.0-x86_64-unknown-linux-gnu.tar.gz
)Same behavior with the latest OCI image from
docker.io/orhunp/git-cliff
.Additional context
No response
The text was updated successfully, but these errors were encountered: