Last active
August 29, 2015 14:23
-
-
Save forbze/e96f34eb9ab80258dad0 to your computer and use it in GitHub Desktop.
Upload Version to HockeyApp XCode7 Bot Trigger
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
mkdir -p /tmp/$XCS_BOT_NAME/$XCS_INTEGRATION_NUMBER/ | |
cd /tmp/$XCS_BOT_NAME/$XCS_INTEGRATION_NUMBER/ | |
wget -O upload$XCS_INTEGRATION_NUMBER.ipa $XCS_PRODUCT | |
curl \ | |
-F "status=2" \ | |
-F "notify=1" \ | |
-F "notes=Some new features and fixed bugs." \ | |
-F "notes_type=0" \ | |
-F "ipa=@upload$XCS_INTEGRATION_NUMBER.ipa" \ | |
-H "X-HockeyAppToken: $HOCKEYAPP_TOKEN" \ | |
https://rink.hockeyapp.net/api/2/apps/$HOCKEYAPP_APPID/app_versions/upload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment