fix stable snap publishing

This commit is contained in:
Andrey Meshkov 2020-04-23 00:27:03 +03:00
parent e2ee2d48df
commit 1041aa8aff

View File

@ -224,7 +224,7 @@ publish_docker() {
exit 1 exit 1
fi fi
CHANNEL="${1}" CHANNEL="${1}"
if [ "$CHANNEL" != "release" ] && [ "$CHANNEL" != "beta" ]; then if [ "$CHANNEL" != "stable" ] && [ "$CHANNEL" != "beta" ]; then
echo "$CHANNEL is an invalid value for the update channel!" echo "$CHANNEL is an invalid value for the update channel!"
exit 1 exit 1
fi fi
@ -241,7 +241,7 @@ publish() {
exit 1 exit 1
fi fi
CHANNEL="${1}" CHANNEL="${1}"
if [ "$CHANNEL" != "release" ] && [ "$CHANNEL" != "beta" ]; then if [ "$CHANNEL" != "stable" ] && [ "$CHANNEL" != "beta" ]; then
echo "$CHANNEL is an invalid value for the update channel!" echo "$CHANNEL is an invalid value for the update channel!"
exit 1 exit 1
fi fi