From a522b3ff4e970313145f662c34bddbb7c9d4427a Mon Sep 17 00:00:00 2001 From: Krille Fear Date: Sun, 5 Dec 2021 13:54:19 +0100 Subject: [PATCH] follow: Fix release type CI variable --- scripts/publish-snap-stable.sh | 1 + scripts/release-playstore.sh | 1 + 2 files changed, 2 insertions(+) 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