Skip to content

Commit f1f0950

Browse files
committed
fix: Fix tagging commit when signed commits are enabled?
1 parent c41b8fe commit f1f0950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/duties.py.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def release(ctx: Context, version: str = "") -> None:
181181
ctx.run("false", title="A version must be provided")
182182
ctx.run("git add pyproject.toml CHANGELOG.md", title="Staging files", pty=PTY)
183183
ctx.run(["git", "commit", "-m", f"chore: Prepare release {version}"], title="Committing changes", pty=PTY)
184-
ctx.run(f"git tag {version}", title="Tagging commit", pty=PTY)
184+
ctx.run(f"git tag -m '' -a {version}", title="Tagging commit", pty=PTY)
185185
{%- if not testing %}
186186
ctx.run("git push", title="Pushing commits", pty=False)
187187
ctx.run("git push --tags", title="Pushing tags", pty=False)

0 commit comments

Comments
 (0)