Last active
November 13, 2015 16:41
-
-
Save Nitewriter/066d054ee853fcfe0f52 to your computer and use it in GitHub Desktop.
HockeyApp Upload 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/bash | |
# Markdown change log for the last 20 commits | |
CHANGE_LOG=$(git log --pretty=format:"* %s" --no-merges --no-color -n 20) | |
echo CHANGE_LOG | |
curl \ | |
-F "status=2" \ | |
-F "notify=1" \ | |
-F "notes=$CHANGE_LOG" \ | |
-F "notes_type=1" \ | |
-F "[email protected]" \ | |
-F "[email protected]" \ | |
-H "X-HockeyAppToken: abcdefg1234567890" \ | |
https://rink.hockeyapp.net/api/2/apps/abcdefg1234567890/app_versions/upload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment