follow: Fix release type CI variable

This commit is contained in:
Krille Fear 2021-12-05 13:54:19 +01:00
parent 6e2fa2a681
commit a522b3ff4e
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