Skip to content

Commit 166716e

Browse files
committed
Actually remove all AWS logic
1 parent dbb48a3 commit 166716e

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

continuous-build.sh

-18
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,4 @@ ditto -c -k --keepParent "$PRODUCT_PATH" "$ARCHIVE_PATH"
4141
git tag -f "b$VERSION"
4242
git push -f origin "b$VERSION"
4343

44-
##### Upload to S3 and update Appcast
45-
46-
INFO_PLIST_PATH="$PRODUCT_PATH/Contents/Info.plist"
47-
VERSION_ID=`defaults read "$INFO_PLIST_PATH" "CFBundleVersion"`
48-
VERSION_STRING=`defaults read "$INFO_PLIST_PATH" "CFBundleShortVersionString"`
49-
MIN_OS=`defaults read "$INFO_PLIST_PATH" "LSMinimumSystemVersion"`
50-
51-
BACKUP_ARCHIVE_NAME="$PRODUCT_NAME-$VERSION_ID.zip"
52-
APPCAST_URL="https://s3-us-west-2.amazonaws.com/gitup-builds/$CHANNEL/$APPCAST_NAME"
53-
ARCHIVE_URL="https://s3-us-west-2.amazonaws.com/gitup-builds/$CHANNEL/$ARCHIVE_NAME"
54-
BACKUP_ARCHIVE_URL="https://s3-us-west-2.amazonaws.com/gitup-builds/$CHANNEL/$BACKUP_ARCHIVE_NAME"
55-
APPCAST_PATH="GitUp/SparkleAppcast.xml"
56-
57-
ARCHIVE_SIZE=`stat -f "%z" "$ARCHIVE_PATH"`
58-
59-
EDITED_APPCAST_PATH="build/appcast.xml"
60-
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"
61-
6244
osascript -e 'display notification "Successfully completed continuous build" with title "GitUp Script" sound name "Hero"'

0 commit comments

Comments
 (0)