Browse Source

Fix typo in release script (#14920)

* Fix typo in release script

* Changelog
tags/v1.77.0rc1
David Robertson 1 year ago
committed by GitHub
parent
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. +1
    -0
      changelog.d/14920.misc
  2. +1
    -1
      scripts-dev/release.py

+ 1
- 0
changelog.d/14920.misc View File

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

+ 1
- 1
scripts-dev/release.py 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.


Loading…
Cancel
Save