-
-
Notifications
You must be signed in to change notification settings - Fork 297
-
Hi Team,
I used the default settings for cz ch
but it wouldn't show every commits on the ChangeLog such as ci
, test
, docs
. Is there a configuration can let me choose what committing types can show on the ChangeLog instead of creating a [tool.commitizen.customize]
section for this slight change?
Beta Was this translation helpful? Give feedback.
All reactions
Answered by
woile
Oct 25, 2024
I don't think so, you'll have to add a customize, something like:
[tool.commitizen.customize] commit_parser = "^((?P<change_type>feat|fix|refactor|perf|docs|style|refactor|BREAKING CHANGE)(?:\\((?P<scope>[^()\r\n]*)\\)|\\()?(?P<breaking>!)?|\\w+!):\\s(?P<message>.*)?" changelog_pattern = "^((BREAKING[\\-\\ ]CHANGE|\\w+)(\\(.+\\))?!?):" change_type_map = {"feat"="Feat","fix"="Fix","refactor"= "Refactor","perf"="Perf","docs"="Docs","style"="Style"}
Replies: 1 comment 1 reply
-
I don't think so, you'll have to add a customize, something like:
[tool.commitizen.customize] commit_parser = "^((?P<change_type>feat|fix|refactor|perf|docs|style|refactor|BREAKING CHANGE)(?:\\((?P<scope>[^()\r\n]*)\\)|\\()?(?P<breaking>!)?|\\w+!):\\s(?P<message>.*)?" changelog_pattern = "^((BREAKING[\\-\\ ]CHANGE|\\w+)(\\(.+\\))?!?):" change_type_map = {"feat"="Feat","fix"="Fix","refactor"= "Refactor","perf"="Perf","docs"="Docs","style"="Style"}
Beta Was this translation helpful? Give feedback.
All reactions
1 reply
-
Thanks for your reply with the wonderful example. I would try it.
Beta Was this translation helpful? Give feedback.
All reactions
Answer selected by
orcahmlee
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment