install snapd

This commit is contained in:
Kyle Spearrin 2020-03-10 23:13:25 -04:00
parent fd7d3c39e4
commit 39178bd05d
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,8 @@ before_build:
- sh: |
if [ "${SNAP_TOKEN}" != "" -a "${PROD_DEPLOY}" == "true" ]
then
sudo apt-get update
sudo apt-get -y install snapd
sudo snap install snapcraft --classic
echo "$SNAP_TOKEN" | snapcraft login --with -
fi