Skip to content

Instantly share code, notes, and snippets.

@morugu
Created March 28, 2016 09:12
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 morugu/30b9e6f0051cb414cbf2 to your computer and use it in GitHub Desktop.
Save morugu/30b9e6f0051cb414cbf2 to your computer and use it in GitHub Desktop.
ipa2dgate.sh
#!/bin/sh
if [ "$1" = "" ]
then
echo "Usage: $0 <project directory path>"
exit
fi
PROJECT_DIR=$1
cd ${PROJECT_DIR}
echo "change directory ${PROJECT_DIR}"
BUILD_RESULT=`ipa build`
echo ${BUILD_RESULT}
dgate push ./*.ipa
echo 'build and upload to Deploygate finish'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment