Fix typo in release script (#14920)
* Fix typo in release script * Changelog
This commit is contained in:
parent
871ff05add
commit
dc901a885f
|
@ -0,0 +1 @@
|
||||||
|
Fix typo in release script.
|
|
@ -438,7 +438,7 @@ def _upload(gh_token: Optional[str]) -> None:
|
||||||
repo = get_repo_and_check_clean_checkout()
|
repo = get_repo_and_check_clean_checkout()
|
||||||
tag = repo.tag(f"refs/tags/{tag_name}")
|
tag = repo.tag(f"refs/tags/{tag_name}")
|
||||||
if repo.head.commit != tag.commit:
|
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()
|
click.get_current_context().abort()
|
||||||
|
|
||||||
# Query all the assets corresponding to this release.
|
# Query all the assets corresponding to this release.
|
||||||
|
|
Loading…
Reference in New Issue