Sign the git tag in release script (#10925)

This commit is contained in:
Erik Johnston 2021-09-27 15:39:49 +01:00 committed by GitHub
parent f7768f62cb
commit d37841787a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/10925.misc Normal file
View File

@ -0,0 +1 @@
Update release script to sign the newly created git tags.

View File

@ -276,7 +276,7 @@ def tag(gh_token: Optional[str]):
if click.confirm("Edit text?", default=False): if click.confirm("Edit text?", default=False):
changes = click.edit(changes, require_save=False) changes = click.edit(changes, require_save=False)
repo.create_tag(tag_name, message=changes) repo.create_tag(tag_name, message=changes, sign=True)
if not click.confirm("Push tag to GitHub?", default=True): if not click.confirm("Push tag to GitHub?", default=True):
print("") print("")