diff options
author | Bert Belder <bertbelder@gmail.com> | 2018-08-25 17:10:42 +0200 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2018-08-26 18:27:23 +0200 |
commit | dc105cca5ad907d77354b0570a38f3abf964d8a6 (patch) | |
tree | d05fd82bd3aab9b6dec8b9d6faf3be099c6a5999 | |
parent | ba6514dfcf90d3c856cf15251499550b8b9723bf (diff) |
appveyor: fix conditional
If the build is not a tag build, APPVEYOR_REPO_TAG is [string]"false",
which is a truthy value.
-rw-r--r-- | .appveyor.yml | 2 |
1 files changed, 1 insertions, 1 deletions
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" |