Skip to content

Commit 110a769

Browse files
committed
build: enable signing and annotations for commitizen
1 parent e39b6ce commit 110a769

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

hatch.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ deploy = ["python scripts/deploy_docs.py"]
140140
skip-install = true
141141
detached = true
142142
python = "38"
143-
dependencies = ["GitPython", "semantic-version"]
143+
dependencies = ["GitPython", "semantic-version", "commitizen"]
144144

145145
[envs.build.scripts]
146146
update-git-versions = ["python scripts/update_git_versions.py"]

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,3 +292,6 @@ update_changelog_on_bump = true
292292
major_version_zero = true
293293
changelog_incremental = true
294294
changelog_merge_prerelease = true
295+
gpg_sign = true
296+
annotated_tag = true
297+
pre_bump_hooks = ["hatch run build:update-git-versions"]

0 commit comments

Comments
 (0)