Skip to content

Commit 6521f0b

Browse files
committed
fix: breaking changes on additional types for conventional commits
1 parent ae75dd5 commit 6521f0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commitizen/defaults.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class Settings(TypedDict, total=False):
8888
MINOR = "MINOR"
8989
PATCH = "PATCH"
9090

91-
bump_pattern = r"^(BREAKING[\-\ ]CHANGE|feat|fix|refactor|perf)(\(.+\))?(!)?"
91+
bump_pattern = r"^(((BREAKING[\-\ ]CHANGE|feat|fix|refactor|perf)(\(.+\))?(!)?)|\w+!)"
9292
bump_map = OrderedDict(
9393
(
9494
(r"^.+!$", MAJOR),

0 commit comments

Comments
 (0)