fluffychat/scripts/release-playstore.sh
2021-12-05 14:24:03 +01:00

10 lines
213 B
Bash
Executable File

#!/bin/sh -ve
RELEASE_TYPE=$(echo $CI_COMMIT_TAG | grep -oE "[a-z]+")
cd android
if [ "$RELEASE_TYPE" = "rc" ]; then
bundle exec fastlane deploy_candidate
else
bundle exec fastlane deploy_release
fi
cd ..