From 3acc83fb57947375a4dc1047064d5155973d0f90 Mon Sep 17 00:00:00 2001 From: Michael Gordeev Date: Sat, 14 Mar 2020 16:31:08 +0300 Subject: [PATCH] Update windows-release.yml for Azure Pipelines --- pipelines/windows-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipelines/windows-release.yml b/pipelines/windows-release.yml index 436dd62..f490a8e 100644 --- a/pipelines/windows-release.yml +++ b/pipelines/windows-release.yml @@ -32,7 +32,7 @@ steps: inputs: targetType: 'inline' script: | - (Get-Content Package.appxmanifest -encoding UTF8 | Out-String) -replace '(?<=\bVersion=")[^"]*', "$(Get-Date -Format "yyyy.Mdd").buildId.$($(Build.BuildNumber).Split('.')[1])" | set-content Package.appxmanifest -encoding UTF8 + (Get-Content Package.appxmanifest -encoding UTF8 | Out-String) -replace '(?<=\bVersion=")[^"]*', "$(Get-Date -Format "yyyy.Mdd").$(Build.BuildId).$($(Build.BuildNumber).ToString().Split('.')[1])" | set-content Package.appxmanifest -encoding UTF8 workingDirectory: '$(Build.SourcesDirectory)\GUT.Schedule\GUTSchedule.UWP' - task: DownloadSecureFile@1