only attach main artifacts on non-prod_deploy

This commit is contained in:
Kyle Spearrin 2019-03-20 13:32:31 -04:00
parent 4d13a2220b
commit a59b7a1942
1 changed files with 9 additions and 7 deletions

View File

@ -96,6 +96,7 @@ build_script:
checksum -f="./dist/bw-linux-${env:PACKAGE_VERSION}.zip" `
-t sha256 | Out-File ./dist/bw-linux-sha256-${env:PACKAGE_VERSION}.txt
if($env:PROD_DEPLOY -ne "true") {
Push-AppveyorArtifact .\dist\bw-windows-${env:PACKAGE_VERSION}.zip
Push-AppveyorArtifact .\dist\bw-macos-${env:PACKAGE_VERSION}.zip
Push-AppveyorArtifact .\dist\bw-linux-${env:PACKAGE_VERSION}.zip
@ -104,6 +105,7 @@ build_script:
Push-AppveyorArtifact .\dist\bw-linux-sha256-${env:PACKAGE_VERSION}.txt
Push-AppveyorArtifact .\dist\chocolatey\bitwarden-cli.${env:PACKAGE_VERSION}.nupkg
}
}
after_build:
- ps: |