From dc105cca5ad907d77354b0570a38f3abf964d8a6 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Sat, 25 Aug 2018 17:10:42 +0200 Subject: appveyor: fix conditional If the build is not a tag build, APPVEYOR_REPO_TAG is [string]"false", which is a truthy value. --- .appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index c23d6b457..54efd1042 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -333,7 +333,7 @@ after_test: # If this build is going to be deployed, build a zip file. - ps: |- - if ($env:APPVEYOR_REPO_TAG) { + if ($env:APPVEYOR_REPO_TAG -eq "true") { Compress-Archive -CompressionLevel Optimal -Force ` -Path "$env:DENO_BUILD_PATH\deno.exe" ` -DestinationPath "$env:APPVEYOR_BUILD_FOLDER\$env:RELEASE_ARTIFACT" -- cgit v1.2.3