Last active
September 1, 2016 05:30
-
-
Save Tulakshana/f57b92a30c5562568fb17ae28198ebb3 to your computer and use it in GitHub Desktop.
Run this script in a post integration trigger to distribute the latest build as a beta release to crashlytics. The script assumes that you have integrated crashlytics through cocoa pods. The script also extracts the latest commit message of the git branch and adds it as the release note.
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
cd "${XCS_SOURCE_DIR}/<project directory name>" | |
git log -1 --pretty=%B > "releaseNote.txt" | |
"Pods/Crashlytics/submit" <key> <secret> \ | |
-notesPath "releaseNote.txt" \ | |
-ipaPath "${XCS_PRODUCT}" -groupAliases <your distribution group> \ | |
-notifications YES |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment