1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00

appveyor: fix conditional

If the build is not a tag build, APPVEYOR_REPO_TAG is [string]"false",
which is a truthy value.
This commit is contained in:
Bert Belder 2018-08-25 17:10:42 +02:00
parent ba6514dfcf
commit dc105cca5a
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461

View file

@ -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"