-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.cz.toml
More file actions
31 lines (26 loc) · 856 Bytes
/
Copy path.cz.toml
File metadata and controls
31 lines (26 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.36.0"
tag_format = "v$version"
legacy_tag_formats = ["$version"]
ignored_tag_formats = ["test-v$version"]
version_scheme = "semver"
update_changelog_on_bump = true
bump_message = "chore(release): v$current_version → v$new_version"
gpg_sign = true
# Files to update with new version
# Use anchored regexes so Commitizen only bumps the package version lines,
# not dependency declarations like `pyo3 = { version = "..." }`.
version_files = [
"Cargo.toml:^version = ",
"pyproject.toml:^version = "
]
# Pre-bump hooks to update Cargo.lock and run checks before commit
pre_bump_hooks = [
"cargo check", # Update Cargo.lock
"hk run fix", # Fix before tagging
]
# Changelog settings
changelog_file = "CHANGELOG.md"
#changelog_incremental = true
#changelog_start_rev = "0.0.1"