install snapd
This commit is contained in:
parent
fd7d3c39e4
commit
39178bd05d
|
@ -45,6 +45,8 @@ before_build:
|
||||||
- sh: |
|
- sh: |
|
||||||
if [ "${SNAP_TOKEN}" != "" -a "${PROD_DEPLOY}" == "true" ]
|
if [ "${SNAP_TOKEN}" != "" -a "${PROD_DEPLOY}" == "true" ]
|
||||||
then
|
then
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get -y install snapd
|
||||||
sudo snap install snapcraft --classic
|
sudo snap install snapcraft --classic
|
||||||
echo "$SNAP_TOKEN" | snapcraft login --with -
|
echo "$SNAP_TOKEN" | snapcraft login --with -
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue