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 2803b18 commit 17c7d31Copy full SHA for 17c7d31
commitizen/bump.py
@@ -34,12 +34,12 @@ def find_increment(
34
continue
35
found_keyword = result.group(0)
36
new_increment = increments_map_default[found_keyword]
37
- if new_increment == "MAJOR":
38
- increment = new_increment
39
- break
40
- elif increment == "MINOR" and new_increment == "PATCH":
+ if increment == "MAJOR":
41
42
+ elif increment == "MINOR" and new_increment == "MAJOR":
+ increment = new_increment
+ elif increment == "PATCH" or increment is None:
43
44
return increment
45
0 commit comments