diff options
author | David Robertson <davidr@element.io> | 2023-01-26 13:27:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-26 13:27:27 +0000 |
commit | dc901a885f9a7111c97b2935d51d2d05a26db47b (patch) | |
tree | c8f51fc00c3511f2ef608343c339f8a0a786afe2 | |
parent | Fix type hints in typing edu unit tests (#14886) (diff) | |
download | synapse-dc901a885f9a7111c97b2935d51d2d05a26db47b.tar.xz |
Fix typo in release script (#14920)
* Fix typo in release script * Changelog
-rw-r--r-- | changelog.d/14920.misc | 1 | ||||
-rwxr-xr-x | scripts-dev/release.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/14920.misc b/changelog.d/14920.misc new file mode 100644 index 0000000000..7988897d39 --- /dev/null +++ b/changelog.d/14920.misc @@ -0,0 +1 @@ +Fix typo in release script. diff --git a/scripts-dev/release.py b/scripts-dev/release.py index 6974fd7895..008a5bd965 100755 --- a/scripts-dev/release.py +++ b/scripts-dev/release.py @@ -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. |