1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

debug PROD_DEPLOY

This commit is contained in:
Kyle Spearrin 2019-03-12 23:59:35 -04:00
parent 51215577a2
commit cb5c3085fc

View File

@ -29,16 +29,17 @@ install:
choco install cloc --no-progress
cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git
}
- sh: |
echo "prod deploy: ${PROD_DEPLOY}"
if [ "${SNAP_TOKEN}" != "" ]
then
echo "$SNAP_TOKEN" | snapcraft login --with -
fi
before_build:
- node --version
- npm --version
- sh: |
echo "sh PROD_DEPLOY ${PROD_DEPLOY}"
if [ "${SNAP_TOKEN}" != "" ]
then
echo "$SNAP_TOKEN" | snapcraft login --with -
fi
- ps: echo "ps PROD_DEPLOY ${PROD_DEPLOY}"
build_script:
- npm install
@ -64,9 +65,11 @@ after_build:
if($PROD_DEPLOY -eq "true") {
if($isLinux) {
echo "Deploy Linux..."
./scripts/snap-update.ps1 -version $PACKAGE_VERSION
}
else {
echo "Deploy Windows..."
./scripts/choco-update.ps1 -version $PACKAGE_VERSION
}
}
- sh: |