Last active
July 25, 2017 17:09
-
-
Save QAutomatron/00ef4ec44c3f82fd99c811b99b61a4d7 to your computer and use it in GitHub Desktop.
Download ipa from Circle CI
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
# | |
$TEAM = yourTeam | |
$REPO = yourRepo | |
$BUILD = yourBuildNumber | |
$CI_TOKEN = yourCIToken | |
echo "Will download app from CI" | |
rm -f *.ipa | |
curl https://circleci.com/api/v1/project/$TEAM/$REPO/$BUILD/artifacts?circle-token=$CI_TOKEN \ | |
| egrep -o "$GREP" \ | |
| xargs -I{} wget {}?circle-token=$CI_TOKEN -O "$VERSION-$APP.ipa" |
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
# | |
$TEAM = yourTeam | |
$REPO = yourRepo | |
$BUILD = yourBuildNumber | |
$CI_TOKEN = yourCIToken | |
echo "Will download app from CI" | |
rm -f *.ipa | |
rm -f env.properties | |
curl 'https://circleci.com/api/v1/project/$TEAM/$REPO/latest/artifacts?circle-token=$CI_TOKEN&branch=master&filter=successful' \ | |
| egrep -o "$GREP" \ | |
| xargs -I{} wget {}?circle-token=$CI_TOKEN -O "app.ipa" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment