Skip to content

Commit 421f2ad

Browse files
committed
ci(cz): custom version bump patterns
Bump for build, deprecate, feat, fix, and perf commit types.
1 parent 0deb534 commit 421f2ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

+2
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ version_files = [
6767
tag_format = "v$version"
6868

6969
[tool.commitizen.customize]
70+
bump_pattern = '^(build|deprecate|feat|fix|perf)'
71+
bump_map = { feat = "MINOR", build = "PATCH", deprecate = "PATCH", fix = "PATCH", perf = "PATCH" }
7072
schema_pattern = '(build|ci|deprecate|docs|feat|fix|perf|refactor|release|style|test)(\(\w+\))?!?:\s\S.*'
7173

7274
[tool.isort]

0 commit comments

Comments
 (0)