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:
parent
ba6514dfcf
commit
dc105cca5a
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue