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

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

View File

@ -96,13 +96,15 @@ build_script:
checksum -f="./dist/bw-linux-${env:PACKAGE_VERSION}.zip" `
-t sha256 | Out-File ./dist/bw-linux-sha256-${env:PACKAGE_VERSION}.txt
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
Push-AppveyorArtifact .\dist\bw-windows-sha256-${env:PACKAGE_VERSION}.txt
Push-AppveyorArtifact .\dist\bw-macos-sha256-${env:PACKAGE_VERSION}.txt
Push-AppveyorArtifact .\dist\bw-linux-sha256-${env:PACKAGE_VERSION}.txt
Push-AppveyorArtifact .\dist\chocolatey\bitwarden-cli.${env:PACKAGE_VERSION}.nupkg
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
Push-AppveyorArtifact .\dist\bw-windows-sha256-${env:PACKAGE_VERSION}.txt
Push-AppveyorArtifact .\dist\bw-macos-sha256-${env:PACKAGE_VERSION}.txt
Push-AppveyorArtifact .\dist\bw-linux-sha256-${env:PACKAGE_VERSION}.txt
Push-AppveyorArtifact .\dist\chocolatey\bitwarden-cli.${env:PACKAGE_VERSION}.nupkg
}
}
after_build: