diff --git a/scripts/publish-snap-stable.sh b/scripts/publish-snap-stable.sh index ecb55478..a642c862 100755 --- a/scripts/publish-snap-stable.sh +++ b/scripts/publish-snap-stable.sh @@ -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 diff --git a/scripts/release-playstore.sh b/scripts/release-playstore.sh index ee53e445..d9cc685c 100755 --- a/scripts/release-playstore.sh +++ b/scripts/release-playstore.sh @@ -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