follow: Fix CI release type check

This commit is contained in:
Krille Fear 2021-12-05 14:21:47 +01:00
commit e0ba16cdfe
3 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
RELEASE_TYPE=$(echo $CI_COMMIT_TAG | grep -oE "[a-z]+")
echo $SNAPCRAFT_LOGIN_FILE | snapcraft login --with -
snapcraft
if [RELEASE_TYPE = "rc"]; then
if [ "$RELEASE_TYPE" = "rc" ]; then
snapcraft upload --release=candidate *.snap
else
snapcraft upload --release=stable *.snap