File tree 1 file changed +0
-18
lines changed
1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -41,22 +41,4 @@ ditto -c -k --keepParent "$PRODUCT_PATH" "$ARCHIVE_PATH"
41
41
git tag -f " b$VERSION "
42
42
git push -f origin " b$VERSION "
43
43
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
-
62
44
osascript -e ' display notification "Successfully completed continuous build" with title "GitUp Script" sound name "Hero"'
You can’t perform that action at this time.
0 commit comments