From 1041aa8aff48a8815eae7f9c437c052a452a2331 Mon Sep 17 00:00:00 2001 From: Andrey Meshkov Date: Thu, 23 Apr 2020 00:27:03 +0300 Subject: [PATCH] fix stable snap publishing --- build_snap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_snap.sh b/build_snap.sh index 07e61b53..412cba4e 100755 --- a/build_snap.sh +++ b/build_snap.sh @@ -224,7 +224,7 @@ publish_docker() { exit 1 fi CHANNEL="${1}" - if [ "$CHANNEL" != "release" ] && [ "$CHANNEL" != "beta" ]; then + if [ "$CHANNEL" != "stable" ] && [ "$CHANNEL" != "beta" ]; then echo "$CHANNEL is an invalid value for the update channel!" exit 1 fi @@ -241,7 +241,7 @@ publish() { exit 1 fi CHANNEL="${1}" - if [ "$CHANNEL" != "release" ] && [ "$CHANNEL" != "beta" ]; then + if [ "$CHANNEL" != "stable" ] && [ "$CHANNEL" != "beta" ]; then echo "$CHANNEL is an invalid value for the update channel!" exit 1 fi