We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f3785c commit 8ba39b3Copy full SHA for 8ba39b3
commitizen/commands/bump.py
@@ -254,8 +254,8 @@ def __call__(self) -> None:
254
)
255
256
# we create an empty PATCH increment for empty tag
257
- if increment == VersionIncrement.NONE and allow_no_commit:
258
- increment = VersionIncrement.PATCH
+ if allow_no_commit:
+ increment = max(increment, VersionIncrement.PATCH)
259
260
new_version = current_version.bump(
261
increment,
0 commit comments