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 9cacfcb commit 6685282Copy full SHA for 6685282
commitizen/commands/bump.py
@@ -255,8 +255,8 @@ def __call__(self) -> None:
255
)
256
257
# we create an empty PATCH increment for empty tag
258
- if increment == VersionIncrement.NONE and allow_no_commit:
259
- increment = VersionIncrement.PATCH
+ if allow_no_commit:
+ increment = max(increment, VersionIncrement.PATCH)
260
261
new_version = current_version.bump(
262
increment,
0 commit comments