try snapcraft login
This commit is contained in:
parent
0cd0ef60f0
commit
77f953c4de
|
@ -11,6 +11,7 @@ stack: node 10
|
||||||
init:
|
init:
|
||||||
- sh: sudo apt-get update
|
- sh: sudo apt-get update
|
||||||
- sh: sudo apt-get -y install pkg-config libxss-dev libsecret-1-dev rpm
|
- sh: sudo apt-get -y install pkg-config libxss-dev libsecret-1-dev rpm
|
||||||
|
- sh: sudo snap install snapcraft --classic
|
||||||
- ps: |
|
- ps: |
|
||||||
if($isWindows) {
|
if($isWindows) {
|
||||||
Install-Product node 10
|
Install-Product node 10
|
||||||
|
@ -28,6 +29,11 @@ install:
|
||||||
choco install cloc --no-progress
|
choco install cloc --no-progress
|
||||||
cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git
|
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:
|
before_build:
|
||||||
- node --version
|
- node --version
|
||||||
|
|
Loading…
Reference in New Issue