passepartout-apple/scripts/upload-screenshots.sh

14 lines
238 B
Bash
Raw Normal View History

#!/bin/bash
cwd=`dirname $0`
source $cwd/env.sh
cd $cwd/..
if [[ -n "$1" ]]; then
platforms="$1"
fi
for platform in $platforms; do
if ! bundle exec fastlane --env secret,$platform asc_screenshots; then
exit 1
fi
done