mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-15 11:22:49 +03:00
fix stable snap publishing
This commit is contained in:
parent
e2ee2d48df
commit
1041aa8aff
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user