Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
github: Update macOS dmg filename pattern.
Anders Kaseorgf9430674d2bb
diff --git a/zerver/lib/github.py b/zerver/lib/github.pyindex 75fb9127546..226a6949e88 100644--- a/zerver/lib/github.py+++ b/zerver/lib/github.py@@ -28,7 +28,7 @@ def verify_release_download_link(link: str) -> bool:PLATFORM_TO_SETUP_FILE = {"linux": "Zulip-{version}-x86_64.AppImage",- "mac": "Zulip-{version}.dmg",+ "mac": "Zulip-{version}-x64.dmg","mac-arm64": "Zulip-{version}-arm64.dmg","windows": "Zulip-Web-Setup-{version}.exe",}diff --git a/zerver/tests/test_github.py b/zerver/tests/test_github.pyindex c388def3fa5..5d4c3a7366f 100644--- a/zerver/tests/test_github.py+++ b/zerver/tests/test_github.py@@ -40,12 +40,12 @@ class GitHubTestCase(ZulipTestCase):responses.add(responses.HEAD,- "https://github.com/zulip/zulip-desktop/releases/download/v5.4.3/Zulip-5.4.3.dmg",+ "https://github.com/zulip/zulip-desktop/releases/download/v5.4.3/Zulip-5.4.3-x64.dmg",status=302,)self.assertEqual(get_latest_github_release_download_link_for_platform("mac"),- "https://github.com/zulip/zulip-desktop/releases/download/v5.4.3/Zulip-5.4.3.dmg",+ "https://github.com/zulip/zulip-desktop/releases/download/v5.4.3/Zulip-5.4.3-x64.dmg",)api_url = "https://api.github.com/repos/zulip/zulip-desktop/releases/latest"