Skip to content

Instantly share code, notes, and snippets.

@flexbox
Created July 10, 2018 14:53
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 flexbox/eb6aa9ba5b5e938ba033d464a8a8a29b to your computer and use it in GitHub Desktop.
Save flexbox/eb6aa9ba5b5e938ba033d464a8a8a29b to your computer and use it in GitHub Desktop.
#!/bin/sh
buildnumber=$(jq '.expo.ios.buildNumber' app.json)
echo ''
echo 'Build number: ' $buildnumber
echo ''
read -p "Continue the build? " -n 1 -r
echo # (optional) move to a new line
if [[ ! $REPLY =~ ^[Yy]$ ]]
echo ''
echo '================'
echo 'Dependency check '
echo '================'
echo ''
yarn
echo ''
# exp build:ios
# echo ''
# echo '======================='
# echo 'Download archive.ipa 🍏'
# echo '======================='
# echo ''
# echo 'Paste the standalone app link'
# read APP_LINK
# APP_IPA=$(curl $APP_LINK -o archive.ipa)
# echo $APP_IPA
# open .
# open /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/
then
[[ "$0" = "$BASH_SOURCE" ]] && exit 1 || return 1 # handle exits from shell or function but don't exit interactive shell
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment