Created
January 21, 2014 10:28
-
-
Save laiso/8537660 to your computer and use it in GitHub Desktop.
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
| ### TestFlight ### | |
| API_TOKEN="YOUR_TESTFLIGHT_API_TOKEN" | |
| TEAM_TOKEN="YOUR_TESTFLIGHT_TEAM_TOKEN" | |
| MEMBER_LISTS="YOUR_TESTFLIGHT_MEMBER_LIST_NAMES,OTHER_LIST_NAME,..." | |
| CONFIGURATION="Release" | |
| SCHEME_NAME=$(shell basename *.xcodeproj .xcodeproj) | |
| all: archive | |
| archive: | |
| ipa build -s ${SCHEME_NAME} -c ${CONFIGURATION} -d "build" | |
| testflight: archive | |
| ipa distribute:testflight -f "build/${SCHEME_NAME}.ipa" -a ${API_TOKEN} -T ${TEAM_TOKEN} -l ${MEMBER_LISTS} | |
| clean: | |
| rm -f build/*.ipa build/*.app.dSYM.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment