diff --git a/pipelines/windows-release.yml b/pipelines/windows-release.yml index f490a8e..7b0398e 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").$(Build.BuildId).$($(Build.BuildNumber).ToString().Split('.')[1])" | 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).0" | set-content Package.appxmanifest -encoding UTF8 workingDirectory: '$(Build.SourcesDirectory)\GUT.Schedule\GUTSchedule.UWP' - task: DownloadSecureFile@1