Fix typo in release script (#14920)

* Fix typo in release script

* Changelog
pull/14927/head
David Robertson 2023-01-26 13:27:27 +00:00 committed by GitHub
parent 871ff05add
commit dc901a885f
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/14920.misc Normal file
View File

@ -0,0 +1 @@
Fix typo in release script.

View File

@ -438,7 +438,7 @@ def _upload(gh_token: Optional[str]) -> None:
repo = get_repo_and_check_clean_checkout()
tag = repo.tag(f"refs/tags/{tag_name}")
if repo.head.commit != tag.commit:
click.echo("Tag {tag_name} (tag.commit) is not currently checked out!")
click.echo(f"Tag {tag_name} ({tag.commit}) is not currently checked out!")
click.get_current_context().abort()
# Query all the assets corresponding to this release.