summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2023-01-26 13:27:27 +0000
committerGitHub <noreply@github.com>2023-01-26 13:27:27 +0000
commitdc901a885f9a7111c97b2935d51d2d05a26db47b (patch)
treec8f51fc00c3511f2ef608343c339f8a0a786afe2
parentFix type hints in typing edu unit tests (#14886) (diff)
downloadsynapse-dc901a885f9a7111c97b2935d51d2d05a26db47b.tar.xz
Fix typo in release script (#14920)
* Fix typo in release script

* Changelog
-rw-r--r--changelog.d/14920.misc1
-rwxr-xr-xscripts-dev/release.py2
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.