passepartout-apple/scripts/local/submit-app.sh

16 lines
463 B
Bash
Raw Permalink Normal View History

#!/bin/bash
2021-11-12 08:39:05 +00:00
PLATFORM=$1
if [[ -z $PLATFORM ]]; then
echo "Platform required"
exit
fi
OUTPUT_DIRECTORY="dist/$PLATFORM"
2021-11-27 12:49:23 +00:00
if [[ $PLATFORM == "ios" ]]; then
export PILOT_IPA="$OUTPUT_DIRECTORY/Passepartout.ipa"
2021-11-27 12:49:23 +00:00
else
export PILOT_PKG="$OUTPUT_DIRECTORY/Passepartout.pkg"
2021-11-27 12:49:23 +00:00
fi
export CHANGELOG_PREFACE=`cat templates/CHANGELOG.preface.md`
2021-11-12 08:39:05 +00:00
export PILOT_CHANGELOG=`ci/build-changelog.sh $PLATFORM`
bundle exec fastlane --env $PLATFORM,beta,secret run pilot