login to snap

This commit is contained in:
Kyle Spearrin 2019-03-12 23:37:47 -04:00
parent 131815ab16
commit 1ff3ba6a18
1 changed files with 2 additions and 0 deletions

View File

@ -32,7 +32,9 @@ install:
- sh: | - sh: |
if [ "${SNAP_TOKEN}" != "" -a "$prodDeploy" == "false" ] if [ "${SNAP_TOKEN}" != "" -a "$prodDeploy" == "false" ]
then then
echo "login to snap"
echo "$SNAP_TOKEN" | snapcraft login --with - echo "$SNAP_TOKEN" | snapcraft login --with -
snapcraft whoami
fi fi
before_build: before_build: