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