mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-30 13:03:53 +01:00
debug PROD_DEPLOY
This commit is contained in:
parent
51215577a2
commit
cb5c3085fc
15
appveyor.yml
15
appveyor.yml
@ -29,16 +29,17 @@ 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: |
|
|
||||||
echo "prod deploy: ${PROD_DEPLOY}"
|
|
||||||
if [ "${SNAP_TOKEN}" != "" ]
|
|
||||||
then
|
|
||||||
echo "$SNAP_TOKEN" | snapcraft login --with -
|
|
||||||
fi
|
|
||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
- node --version
|
- node --version
|
||||||
- npm --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:
|
build_script:
|
||||||
- npm install
|
- npm install
|
||||||
@ -64,9 +65,11 @@ after_build:
|
|||||||
if($PROD_DEPLOY -eq "true") {
|
if($PROD_DEPLOY -eq "true") {
|
||||||
if($isLinux) {
|
if($isLinux) {
|
||||||
echo "Deploy Linux..."
|
echo "Deploy Linux..."
|
||||||
|
./scripts/snap-update.ps1 -version $PACKAGE_VERSION
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
echo "Deploy Windows..."
|
echo "Deploy Windows..."
|
||||||
|
./scripts/choco-update.ps1 -version $PACKAGE_VERSION
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
- sh: |
|
- sh: |
|
||||||
|
Loading…
Reference in New Issue
Block a user