Created
January 11, 2011 03:51
-
-
Save hramos/773985 to your computer and use it in GitHub Desktop.
Deploy builds to Testflight with this script. Use a git wrapper (i.e. git push-and-deploy) to invoke git push, then xcodebuild, then this script.
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 | |
[email protected] | |
API_TOKEN='<api key under account>' | |
TEAM_TOKEN='<team token under specific team>' | |
NOTES='Buildscript' | |
ENDPOINT=http://testflightapp.com/api/builds.json | |
DISTRIBUTION_LISTS='Internal' | |
curl $ENDPOINT -F file=$FILE -F api_token=$API_TOKEN -F team_token=$TEAM_TOKEN -F notify=true -F distribution_lists=$DISTRIBUTION_LISTS -F notes=$NOTES |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Added notify=true to enable email notifications (had disabled them while debugging).