From 6878e1065308caf0f79e380b4de1433ab1487a34 Mon Sep 17 00:00:00 2001
From: Erik Johnston <erik@matrix.org>
Date: Tue, 3 Aug 2021 13:29:17 +0100
Subject: [PATCH] Fix release script URL (#10516)

---
 changelog.d/10516.misc | 1 +
 scripts-dev/release.py | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 changelog.d/10516.misc

diff --git a/changelog.d/10516.misc b/changelog.d/10516.misc
new file mode 100644
index 0000000000..4d8c5e4805
--- /dev/null
+++ b/changelog.d/10516.misc
@@ -0,0 +1 @@
+Fix release script to open correct URL for the release.
diff --git a/scripts-dev/release.py b/scripts-dev/release.py
index e864dc6ed5..a339260c43 100755
--- a/scripts-dev/release.py
+++ b/scripts-dev/release.py
@@ -305,7 +305,7 @@ def tag(gh_token: Optional[str]):
     )
 
     # Open the release and the actions where we are building the assets.
-    click.launch(release.url)
+    click.launch(release.html_url)
     click.launch(
         f"https://github.com/matrix-org/synapse/actions?query=branch%3A{tag_name}"
     )
-- 
GitLab