diff --git a/appveyor.yml b/appveyor.yml index 6d7649c5f8..f7fa128d25 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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: