From 620fec390d5ce6818f9bc8c40f36dec6917dc369 Mon Sep 17 00:00:00 2001 From: Michael Gordeev Date: Sat, 14 Mar 2020 18:19:10 +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 27f49af..432434c 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 "yy")$((Get-Date).DayOfYear.ToString('000')).$(Build.BuildId).$($(Build.BuildNumber).ToString().Split('.')[1]).0" | set-content Package.appxmanifest -encoding UTF8 + (Get-Content Package.appxmanifest -encoding UTF8 | Out-String) -creplace '(?<=\bVersion=")[^"]*', "$(Get-Date -Format "yy")$((Get-Date).DayOfYear.ToString('000')).$(Build.BuildId).$($(Build.BuildNumber).ToString().Split('.')[1]).0" | set-content Package.appxmanifest -encoding UTF8 workingDirectory: '$(Build.SourcesDirectory)\GUT.Schedule\GUTSchedule.UWP' - task: DownloadSecureFile@1