A very simple testflight deploy script that uploads file whenever a build is added or updated to the scripts directory.
Ruby
Pull request Compare This branch is 2 commits ahead of mpbod:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
README.rdoc
config.yaml
testflight-deploy.rb

README.rdoc

TestFlight Auto Deploy Script

A very simple testflight-deploy script for my personal use. Deploy code with rest-client was taken from github.com/lukeredpath/betabuilder/blob/master/lib/beta_builder/deployment_strategies/testflight.rb of github.com/lukeredpath/betabuilder. Thanks to github.com/lukeredpath for Betabuilder. It was a bit too much for my purpose.


Prerequisite

Install the rest-client gem if you don't already have it.

$gem install rest-client

Edit config.yaml and change the constants to your's:

API_TOKEN = "API_TOKEN_GOES_HERE"                 # Can be found at http://testflightapp.com/account/
TEAM_TOKEN = "TEAM_TOKEN_GOES_HERE"               # Click (edit) next the Current Team: on the top left corner.
DIST_LIST = "DISTRIBUTION_LIST_NAMES_GOES_HERE"   # Comma seperate the names of the distribution list.

Usage

$ruby testflight-deploy.rb
Then save a .ipa file to the directory