Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix typo in release script (#14920)
Browse files Browse the repository at this point in the history
* Fix typo in release script

* Changelog
  • Loading branch information
David Robertson authored Jan 26, 2023
1 parent 871ff05 commit dc901a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/14920.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix typo in release script.
2 changes: 1 addition & 1 deletion scripts-dev/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit dc901a8

Please sign in to comment.