-
-
Save flexbox/eb6aa9ba5b5e938ba033d464a8a8a29b 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/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