Skip to content

Commit d3aa799

Browse files
committed
build: support commitizen for versioning
1 parent ae019d9 commit d3aa799

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

pyproject.toml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,19 @@ before-all = [
154154
'uv run --only-group=conan --with ninja --isolated conan install conanfile.py -pr:h {package}/ci/cibuildwheel/conan_profiles/Linux/linux_build_profile.ini --build missing -of /tmp/ciwheelbuilder/uiucprescon_orc/tmp --conf=tools.cmake.cmaketoolchain:generator=Ninja',
155155

156156
]
157+
158+
[tool.commitizen]
159+
name = "cz_conventional_commits"
160+
tag_format = "v$version"
161+
version_scheme = "pep440"
162+
version_provider = "pep621"
163+
update_changelog_on_bump = true
164+
major_version_zero = true
165+
changelog_merge_prerelease = true
166+
pre_bump_hooks = [
167+
"uv lock"
168+
]
169+
157170
[tool.cibuildwheel.linux.environment]
158171
PYTHONFAULTHANDLER="True"
159172
CONAN_USER_HOME="/tmp/conan/manylinux"
@@ -179,4 +192,5 @@ default = true
179192
[[tool.uv.index]]
180193
name = "uiuc_prescon_python"
181194
url = "https://nexus.library.illinois.edu/repository/uiuc_prescon_python/simple"
182-
explicit = true
195+
explicit = true
196+

0 commit comments

Comments
 (0)