Last active
September 29, 2015 23:17
-
-
Save jamesdaniels/1684344 to your computer and use it in GitHub Desktop.
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
# Get a Continuous Integration Token on AppBlade.com | |
# while on your project details page. If you don't | |
# have a project yet, you'll have to create one. | |
CI_TOKEN=YOUR_PROJECTS_CI_TOKEN | |
BUNDLE_PATH=/path/to/bundle | |
# Optional arguments | |
ZIPPED_DSYM_PATH=/path/to/a/zipped/dsym | |
OVERRIDE_BUNDLE_VERSION_STRING=0.0.1 | |
CHANGELOG="Some changes bro" | |
GIT_SHA=XXXX | |
# Include this for selective releases | |
RELEASE_TRACKS="Release Candidate" | |
curl -# -H "Accept: application/json" \ | |
-H "Authorization: Bearer $CI_TOKEN" \ | |
-F "version[bundle]=@$BUNDLE_PATH" \ | |
-F "version[dsym]=@$ZIPPED_DSYM_PATH" \ | |
-F "version[commit_id]=$GIT_SHA" \ | |
-F "version[version_string]=$OVERRIDE_BUNDLE_VERSION_STRING" \ | |
-F "version[changelog]=$CHANGELOG" \ | |
-F "version[release_track_list]=$RELEASE_TRACKS" \ | |
https://appblade.com/api/3/versions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment