Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,9 @@ def bump(session: nox.Session):
str(fragment_file),
external=True,
)
session.run("git", "commit", "-m", f"Prepare {version}.", external=True)
session.run(
"git", "commit", "-m", f"Prepare {version}.", "--gpg-sign", external=True
)
session.run("antsibull-changelog", "release")
session.run(
"git",
Expand All @@ -246,11 +248,14 @@ def bump(session: nox.Session):
external=True,
)
install(session, ".") # Smoke test
session.run("git", "commit", "-m", f"Release {version}.", external=True)
session.run(
"git", "commit", "-m", f"Release {version}.", "--gpg-sign", external=True
)
session.run(
"git",
"tag",
"-a",
"-s",
"-m",
f"antsibull-docs {version}",
"--edit",
Expand All @@ -269,7 +274,9 @@ def publish(session: nox.Session):
session.run("hatch", "publish", *session.posargs)
session.run("hatch", "version", "post")
session.run("git", "add", "src/antsibull_docs/__init__.py", external=True)
session.run("git", "commit", "-m", "Post-release version bump.", external=True)
session.run(
"git", "commit", "-m", "Post-release version bump.", "--gpg-sign", external=True
)


@nox.session
Expand Down
Loading