Last active
August 29, 2015 13:56
-
-
Save Keishake/8894107 to your computer and use it in GitHub Desktop.
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
#! /bin/bash | |
# you need install shenzhen | |
# `gem install shenzhen` | |
# | |
API_TOKEN="TESTFLIGHT_APITOKEN_HERE" | |
TEAM_TOKEN="TESTFLIGHT_TEAMTOKEN_HERE" | |
TEAM_NAME="TESTFLIGHT_TEAM_NAME" | |
HIPCHAT_TOKEN="HIPCHAT_API_TOKEN_HERE" | |
HIPCHAT_ROOM_ID="HIPCHAT_ROOM_ID_HERE" | |
ipa build -c Release && ipa distribute:testflight -a $API_TOKEN -T $TEAM_TOKEN -m "Manbo!!" --notify -l $TEAM_NAME | |
curl -d "room_id=$HIPCHAT_ROOM_ID&from=iPhoneBuild&message=Build+Status:+Passing&color=green" https://api.hipchat.com/v1/rooms/message?auth_token=$HIPCHAT_TOKEN&format=json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment