Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/git-up/GitUp
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Mar 12, 2024
2 parents 6e7579b + 2b25022 commit 13bc734
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions continuous-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ ARCHIVE_SIZE=`stat -f "%z" "$ARCHIVE_PATH"`
EDITED_APPCAST_PATH="build/appcast.xml"
perl -p -e "s|__APPCAST_TITLE__|$PRODUCT_NAME|g;s|__APPCAST_URL__|$APPCAST_URL|g;s|__VERSION_ID__|$VERSION_ID|g;s|__VERSION_STRING__|$VERSION_STRING|g;s|__ARCHIVE_URL__|$ARCHIVE_URL|g;s|__ARCHIVE_SIZE__|$ARCHIVE_SIZE|g;s|__MIN_OS__|$MIN_OS|g" "$APPCAST_PATH" > "$EDITED_APPCAST_PATH"

aws s3 cp "$ARCHIVE_PATH" "s3://gitup-builds/$CHANNEL/$BACKUP_ARCHIVE_NAME"
aws s3 cp "s3://gitup-builds/$CHANNEL/$BACKUP_ARCHIVE_NAME" "s3://gitup-builds/$CHANNEL/$ARCHIVE_NAME"
aws s3 cp "$EDITED_APPCAST_PATH" "s3://gitup-builds/$CHANNEL/$APPCAST_NAME"
aws s3 cp --profile gitup "$ARCHIVE_PATH" "s3://gitup-builds/$CHANNEL/$BACKUP_ARCHIVE_NAME"
aws s3 cp --profile gitup "s3://gitup-builds/$CHANNEL/$BACKUP_ARCHIVE_NAME" "s3://gitup-builds/$CHANNEL/$ARCHIVE_NAME"
aws s3 cp --profile gitup "$EDITED_APPCAST_PATH" "s3://gitup-builds/$CHANNEL/$APPCAST_NAME"

osascript -e 'display notification "Successfully completed continuous build" with title "GitUp Script" sound name "Hero"'

0 comments on commit 13bc734

Please sign in to comment.