Last active
April 2, 2016 12:41
-
-
Save kibotu/833e4703e426eb552d6d32961cb6373a to your computer and use it in GitHub Desktop.
Upload to hockey using curl with progress bar.
This file contains 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 | |
HOCKEY_API_TOKEN="" | |
HOCKEY_APP_TOKEN="" | |
APP_PATH="ci-build.apk" | |
curl \ | |
--progress-bar \ | |
-F "status=2" \ | |
-F "notify=1" \ | |
-F "notes=CI-Build" \ | |
-F "notes_type=0" \ | |
-F "ipa=@$APP_PATH" \ | |
-H "X-HockeyAppToken: $HOCKEY_API_TOKEN" \ | |
https://rink.hockeyapp.net/api/2/apps/$HOCKEY_APP_TOKEN/app_versions/upload \ | |
| tee ; test ${PIPESTATUS[0]} -eq 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment