diff --git a/scripts/local/submit-app.sh b/scripts/local/submit-app.sh index 8a54f30c..401c7c7a 100755 --- a/scripts/local/submit-app.sh +++ b/scripts/local/submit-app.sh @@ -4,5 +4,10 @@ if [[ -z $PLATFORM ]]; then echo "Platform required" exit fi +if [[ $PLATFORM == "ios" ]]; then + export PILOT_IPA="dist/ios/Passepartout.ipa" +else + export PILOT_PKG="dist/mac/Passepartout.pkg" +fi export PILOT_CHANGELOG=`ci/build-changelog.sh $PLATFORM` bundle exec fastlane --env $PLATFORM,beta,secret store_beta