1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

choco only on prod deploys

This commit is contained in:
Kyle Spearrin 2019-03-13 00:25:23 -04:00
parent ee11b8d835
commit 5da12e2f9c

View File

@ -39,7 +39,7 @@ before_build:
echo "$SNAP_TOKEN" | snapcraft login --with - echo "$SNAP_TOKEN" | snapcraft login --with -
fi fi
- ps: | - ps: |
if($isWindows -and $env:CHOCO_API_KEY -ne $null -and $env:PROD_DEPLOY -eq "false") { if($isWindows -and $env:CHOCO_API_KEY -ne $null -and $env:PROD_DEPLOY -eq "true") {
choco apikey --key $env:CHOCO_API_KEY --source https://push.chocolatey.org/ choco apikey --key $env:CHOCO_API_KEY --source https://push.chocolatey.org/
} }