From a0d5880e25a16ec6bd85f171c73b1d425db3d4f1 Mon Sep 17 00:00:00 2001 From: Michael Gordeev Date: Sat, 14 Mar 2020 18:00:48 +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 f01da6d..27f49af 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) -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 workingDirectory: '$(Build.SourcesDirectory)\GUT.Schedule\GUTSchedule.UWP' - task: DownloadSecureFile@1