log into snapcraft always
This commit is contained in:
parent
df3983eed5
commit
e33e4f7044
|
@ -30,8 +30,7 @@ install:
|
||||||
cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git
|
cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git
|
||||||
}
|
}
|
||||||
- sh: |
|
- sh: |
|
||||||
echo "prod deploy: ${PROD_DEPLOY}"
|
if [ "${SNAP_TOKEN}" != "" ]
|
||||||
if [ "${SNAP_TOKEN}" != "" -a "${PROD_DEPLOY}" == "false" ]
|
|
||||||
then
|
then
|
||||||
echo "login to snap"
|
echo "login to snap"
|
||||||
echo "$SNAP_TOKEN" | snapcraft login --with -
|
echo "$SNAP_TOKEN" | snapcraft login --with -
|
||||||
|
|
Loading…
Reference in New Issue