log into snapcraft always

This commit is contained in:
Kyle Spearrin 2019-03-12 23:45:29 -04:00
parent df3983eed5
commit e33e4f7044
1 changed files with 1 additions and 2 deletions

View File

@ -30,8 +30,7 @@ install:
cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git
}
- sh: |
echo "prod deploy: ${PROD_DEPLOY}"
if [ "${SNAP_TOKEN}" != "" -a "${PROD_DEPLOY}" == "false" ]
if [ "${SNAP_TOKEN}" != "" ]
then
echo "login to snap"
echo "$SNAP_TOKEN" | snapcraft login --with -