Created
March 12, 2015 18:31
-
-
Save manmal/c05592c28a1b0b917944 to your computer and use it in GitHub Desktop.
Upload an .ipa to Crashlytics
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/bash | |
set -x | |
cd ${0%/*}/.. | |
ARCHIVEPATH=`pwd`/archive | |
IPA_PATH=("${ARCHIVEPATH}"/*.ipa) | |
DSYM_PATH=("${ARCHIVEPATH}"/*.dSYM.zip) | |
CRASHLYTICS_API_KEY=XXXX | |
CRASHLYTICS_BUILD_SECRET=XXXX | |
CRASHLYTICS_DISTRIBUTION_GROUPS="your_group_name" | |
CRASHLYTICS_RELEASE_NOTES_PATH="releasenotes.txt" | |
your_project_folder/Crashlytics.framework/submit \ | |
${CRASHLYTICS_API_KEY} \ | |
${CRASHLYTICS_BUILD_SECRET} \ | |
-ipaPath ${IPA_PATH} \ | |
-groupAliases "${CRASHLYTICS_DISTRIBUTION_GROUPS}" \ | |
-notesPath "${CRASHLYTICS_RELEASE_NOTES_PATH}" \ | |
-notifications YES |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment