Browse Source

Hopefully fixed assemblyVerReader

flabbet 4 years ago
parent
commit
1da0c69396
2 changed files with 2 additions and 2 deletions
  1. 1 1
      assemblyVerReader.ps1
  2. 1 1
      windows-x86-release.yml

+ 1 - 1
assemblyVerReader.ps1

@@ -3,4 +3,4 @@ $assemblyInfoPath = "PixiEditor\Properties\AssemblyInfo.cs"
 $contents = [System.IO.File]::ReadAllText($assemblyInfoPath)
 
 $versionString = [RegEx]::Match($contents,"(?:\d+\.\d+\.\d+\.\d+)")
-$env:TagVersion = $versionString
+Write-Host "##vso[task.setvariable variable=TagVersion;]$versionString"

+ 1 - 1
windows-x86-release.yml

@@ -87,7 +87,7 @@ steps:
 - task: PublishPipelineArtifact@1
   displayName: "Publish zip artifact"
   inputs:
-    targetPath: '/'
+    targetPath: '$(System.DefaultWorkingDirectory)'
     artifact: 'PixiEditor.$(TagVersion).x86.zip'
     publishLocation: 'pipeline'