From a59b7a194237a7a57ffdab45a15a875a6184be73 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 20 Mar 2019 13:32:31 -0400 Subject: [PATCH] only attach main artifacts on non-prod_deploy --- appveyor.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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: