Skip to content

Instantly share code, notes, and snippets.

@muhammadghazali
Created February 28, 2014 03:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save muhammadghazali/9264598 to your computer and use it in GitHub Desktop.
Save muhammadghazali/9264598 to your computer and use it in GitHub Desktop.
Bash script to upload your APK to TestFlight via Upload API
#!/bin/bash
printf "Uploading the package to TestFlight...\n"
curl http://testflightapp.com/api/builds.json \
-F file=@REPLACE_THIS_WITH_RELATIVE_PATH_TO_APK \
-F api_token='REPLACE_THIS_WITH_YOUR_API_TOKEN' \
-F team_token='REPLACE_THIS_WITH_YOUR_TEAM_TOKEN' \
-F notes='Link to your release notes' \
-F notify=True \
-F replace=True \
-F distribution_lists='REPLACE_THIS_WITH_YOUR_DISTRIBUTION_LIST'
printf "\nDone...\n"
@muhammadghazali
Copy link
Author

Sadly the Android support will be discontinued soon, more details can be found:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment