Skip to content

Instantly share code, notes, and snippets.

@Nitewriter
Last active November 13, 2015 16:41
Show Gist options
  • Save Nitewriter/066d054ee853fcfe0f52 to your computer and use it in GitHub Desktop.
Save Nitewriter/066d054ee853fcfe0f52 to your computer and use it in GitHub Desktop.
HockeyApp Upload Script
#!/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 "ipa=@internal.ipa" \
-F "dsym=@internal.app.dSYM.zip" \
-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