windows: fix asset path for artifact upload (#1609)

This commit is contained in:
blotus 2022-06-23 15:34:19 +02:00 committed by GitHub
parent 33ff938504
commit 46f20193f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,5 +103,5 @@ stages:
isPreRelease: true #we force prerelease because the pipeline is invoked on tag creation, which happens when we do a prerelease
#the .. is an ugly hack, but I can't find the var that gives D:\a\1 ...
assets: |
$(Build.ArtifactStagingDirectory)\..\crowdsec.msi
$(Build.ArtifactStagingDirectory)\..\crowdsec.msi/*.msi
condition: ne(variables['GetLatestPrelease.LatestPreRelease'], '')