release: fix Sparkle upgrade path for 1.27.0 users

This commit is contained in:
Lawrence Chen 2026-02-14 03:26:42 -08:00
parent 2bae2ca2f0
commit faf1bd44c2
6 changed files with 46 additions and 14 deletions

View file

@ -86,6 +86,8 @@ jobs:
- name: Inject Sparkle keys into Info.plist
run: |
APP_PLIST="build/Build/Products/Release/cmux.app/Contents/Info.plist"
/usr/libexec/PlistBuddy -c "Delete :SUPublicEDKey" "$APP_PLIST" >/dev/null 2>&1 || true
/usr/libexec/PlistBuddy -c "Delete :SUFeedURL" "$APP_PLIST" >/dev/null 2>&1 || true
echo "Adding SUPublicEDKey to Info.plist..."
/usr/libexec/PlistBuddy -c "Add :SUPublicEDKey string ${SPARKLE_PUBLIC_KEY}" "$APP_PLIST"
echo "Adding SUFeedURL to Info.plist..."