Skip to content

Commit d20aa85

Browse files
lobotmcjLee-W
authored andcommitted
fix: capitalize types in default change_type_order
1 parent f8666a0 commit d20aa85

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

commitizen/defaults.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,8 @@ class Settings(TypedDict, total=False):
8080
(r"^perf", PATCH),
8181
)
8282
)
83-
change_type_order = ["BREAKING CHANGE", "feat", "fix", "refactor", "perf"]
84-
83+
change_type_order = ["BREAKING CHANGE", "Feat", "Fix", "Refactor", "Perf"]
8584
bump_message = "bump: version $current_version → $new_version"
8685

87-
8886
commit_parser = r"^(?P<change_type>feat|fix|refactor|perf|BREAKING CHANGE)(?:\((?P<scope>[^()\r\n]*)\)|\()?(?P<breaking>!)?:\s(?P<message>.*)?" # noqa
8987
version_parser = r"(?P<version>([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?(\w+)?)"

0 commit comments

Comments
 (0)