1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-29 11:22:30 +01:00

try snapcraft login

This commit is contained in:
Kyle Spearrin 2019-03-12 23:34:59 -04:00
parent 0cd0ef60f0
commit 77f953c4de

View File

@ -11,6 +11,7 @@ stack: node 10
init:
- sh: sudo apt-get update
- sh: sudo apt-get -y install pkg-config libxss-dev libsecret-1-dev rpm
- sh: sudo snap install snapcraft --classic
- ps: |
if($isWindows) {
Install-Product node 10
@ -28,6 +29,11 @@ install:
choco install cloc --no-progress
cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git
}
- sh: |
if [ "${SNAP_TOKEN}" != "" -a "$prodDeploy" == "false" ]
then
echo "$SNAP_TOKEN" | snapcraft login --with -
fi
before_build:
- node --version