[object Object]

← back to Exo

ci: avoid pushing alpha build as latest

1df5079b98636f7bc6e97372979ed33769abe4e3 · 2025-12-22 12:37:17 +0000 · Jake Hillion

Files touched

Diff

commit 1df5079b98636f7bc6e97372979ed33769abe4e3
Author: Jake Hillion <jake@hillion.co.uk>
Date:   Mon Dec 22 12:37:17 2025 +0000

    ci: avoid pushing alpha build as latest
---
 .github/workflows/build-app.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/build-app.yml b/.github/workflows/build-app.yml
index acc1400c..1a2caf8f 100644
--- a/.github/workflows/build-app.yml
+++ b/.github/workflows/build-app.yml
@@ -267,6 +267,7 @@ jobs:
           AWS_REGION: ${{ env.AWS_REGION }}
           SPARKLE_S3_BUCKET: ${{ env.SPARKLE_S3_BUCKET }}
           SPARKLE_S3_PREFIX: ${{ env.SPARKLE_S3_PREFIX }}
+          IS_ALPHA: ${{ env.IS_ALPHA }}
         run: |
           set -euo pipefail
           cd output
@@ -276,7 +277,9 @@ jobs:
           fi
           DMG_NAME="EXO-${RELEASE_VERSION}.dmg"
           aws s3 cp "$DMG_NAME" "s3://${SPARKLE_S3_BUCKET}/${PREFIX}${DMG_NAME}"
-          aws s3 cp "$DMG_NAME" "s3://${SPARKLE_S3_BUCKET}/${PREFIX}EXO-latest.dmg"
+          if [[ "$IS_ALPHA" != "true" ]]; then
+            aws s3 cp "$DMG_NAME" "s3://${SPARKLE_S3_BUCKET}/${PREFIX}EXO-latest.dmg"
+          fi
           aws s3 cp appcast.xml "s3://${SPARKLE_S3_BUCKET}/${PREFIX}appcast.xml" --content-type application/xml --cache-control no-cache
 
       - name: Cleanup keychain

← 1e75aeb2 Add Prerequisites to Readme (#936)  ·  back to Exo  ·  fix: update macOS app to use correct API port (52415) e06830ce →