From 586a884c422423d7c0de3bc5991de13e853b1697 Mon Sep 17 00:00:00 2001 From: BIBO <49994376+BIBOLV@users.noreply.github.com> Date: Mon, 7 Sep 2020 23:17:03 +0300 Subject: [PATCH] Update promote_snap.sh --- .github/workflows/promote_snap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/promote_snap.sh b/.github/workflows/promote_snap.sh index d4b348d..caf8df4 100644 --- a/.github/workflows/promote_snap.sh +++ b/.github/workflows/promote_snap.sh @@ -12,7 +12,7 @@ else echo "This is release - $GIT_VER" fi -if $(timeout 5 snapcraft status wmbusmeters-test2 >/dev/null); then +if $(timeout 5 snapcraft status $SNAP_NAME >/dev/null); then echo "snapcraft login sucessfull, continuing" else echo "Looks like snapcraft login is not sucessfull, exiting...."