-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cz.toml
24 lines (22 loc) · 832 Bytes
/
.cz.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[tool.commitizen]
bump_message = "release $current_version → $new_version [skip ci]"
name = "cz_customize"
tag_format = "$major.$minor.$patch"
version = "0.2.15"
[tool.commitizen.customize]
bump_map = {feat = "PATCH", break = "MINOR", fix = "PATCH"}
bump_pattern = "^(feat|fix|break)"
example = "feat: this feature enable customize through config file"
message_template = "{{change_type}}: {{message}}"
schema = "<type>: <body>"
schema_pattern = "(feat|fix|chore|doc|ci)(\\((.*)\\))?:(\\s.*)"
changelog_pattern = "^(break|feat|fix)"
[[tool.commitizen.customize.questions]]
choices = ["feat", "fix", "doc", "ci", "break", "chore"] # short version
message = "Select the type of change you are committing"
name = "change_type"
type = "list"
[[tool.commitizen.customize.questions]]
message = "Body."
name = "message"
type = "input"