Browse Source

fix: install snapcraft to check version (#951)

Baptiste Augrain 3 years ago
parent
commit
e5de9c3096
1 changed files with 2 additions and 0 deletions
  1. 2 0
      stores/snapcraft/check_version.sh

+ 2 - 0
stores/snapcraft/check_version.sh

@@ -13,6 +13,8 @@ elif [[ "${GITHUB_EVENT_NAME}" == "push" ]]; then
 else
 	echo "It's a cron"
 
+  sudo snap install --channel stable --classic snapcraft
+
   echo "$SNAP_STORE_LOGIN" | snapcraft login --with -
 
   ARCHITECTURE=$(dpkg --print-architecture)