eleven / messenger Public

mac: release uploads a stable-named Eleven.dmg alongside the versioned DMG (#1102)

Gives the website a permanent one-click download URL
(releases/latest/download/Eleven.dmg — Mac releases hold the latest
pointer) instead of pinning a version that goes stale; the site's
buttons were still handing out 0.5.0. Kept out of APPCAST_DIR so
generate_appcast never sees a duplicate archive.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Paul Campbell a47982d7547a1ab41fd1ae507fd170d2cc5f99ea parent e7716ff
1 file changed, +7 −1
  • ios/release-mac.sh +7 −1
diff --git a/ios/release-mac.sh b/ios/release-mac.sh
index 2d60cb6..a383fa6 100755
--- a/ios/release-mac.sh
+++ b/ios/release-mac.sh
@@ -157,9 +157,15 @@ NOTES_ARG=(--notes "$APP_NAME $VERSION for macOS.")
# appcast.xml, so the Mac release must always hold the repo's "latest"
# pointer — server releases publish with --latest=false for the same reason
# (release-server.sh; the pointer theft 404'd every Mac's update check).
+# The stable-named copy gives the website a permanent one-click URL
+# (releases/latest/download/Eleven.dmg) instead of pinning a version that
+# goes stale; kept out of APPCAST_DIR so generate_appcast never sees a
+# duplicate archive.
+cp "$DMG" "$TMP/$APP_NAME.dmg"
gh release create "v$VERSION" -R "$RELEASES_REPO" \
--title "$APP_NAME $VERSION" "${NOTES_ARG[@]}" --latest \
- "$APPCAST_DIR/$APP_NAME-$VERSION.dmg" "$APPCAST_DIR/appcast.xml"
+ "$APPCAST_DIR/$APP_NAME-$VERSION.dmg" "$APPCAST_DIR/appcast.xml" \
+ "$TMP/$APP_NAME.dmg"
echo
echo "✅ Published $APP_NAME $VERSION ($BUILD) to $RELEASES_REPO"