1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-12 10:04:44 +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 -
fi
- 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/
}