follow: Fix release type CI variable

This commit is contained in:
Krille Fear 2021-12-05 13:54:19 +01:00
parent c3db8da8fa
commit 85eb40e5b3
2 changed files with 2 additions and 0 deletions

View file

@ -1,4 +1,5 @@
#!/bin/sh -ve
RELEASE_TYPE=$(echo $CI_COMMIT_TAG | grep -oE "[a-z]+")
echo $SNAPCRAFT_LOGIN_FILE | snapcraft login --with -
snapcraft
if [RELEASE_TYPE = "rc"]; then

View file

@ -1,4 +1,5 @@
#!/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