mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-27 17:18:04 +01:00
log into choco via apikey
This commit is contained in:
parent
46f3902d0f
commit
ee11b8d835
10
appveyor.yml
10
appveyor.yml
@ -1,5 +1,5 @@
|
||||
image:
|
||||
#- Visual Studio 2017
|
||||
- Visual Studio 2017
|
||||
- Ubuntu1804
|
||||
|
||||
branches:
|
||||
@ -34,12 +34,14 @@ before_build:
|
||||
- node --version
|
||||
- npm --version
|
||||
- sh: |
|
||||
echo "sh PROD_DEPLOY ${PROD_DEPLOY}"
|
||||
if [ "${SNAP_TOKEN}" != "" -a "${PROD_DEPLOY}" == "true" ]
|
||||
then
|
||||
echo "$SNAP_TOKEN" | snapcraft login --with -
|
||||
fi
|
||||
- ps: echo "ps PROD_DEPLOY ${env:PROD_DEPLOY}"
|
||||
- ps: |
|
||||
if($isWindows -and $env:CHOCO_API_KEY -ne $null -and $env:PROD_DEPLOY -eq "false") {
|
||||
choco apikey --key $env:CHOCO_API_KEY --source https://push.chocolatey.org/
|
||||
}
|
||||
|
||||
build_script:
|
||||
- npm install
|
||||
@ -73,7 +75,7 @@ after_build:
|
||||
}
|
||||
}
|
||||
- sh: |
|
||||
if [ "${SNAP_TOKEN}" != "" ]
|
||||
if [ "${SNAP_TOKEN}" != "" -a "${PROD_DEPLOY}" == "true" ]
|
||||
then
|
||||
snapcraft logout
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user