1
0
mirror of https://github.com/XFox111/GUTSchedule.git synced 2026-04-22 06:58:01 +03:00

Update windows-release.yml for Azure Pipelines

This commit is contained in:
Michael Gordeev
2020-03-14 17:45:38 +03:00
parent b4bf453e4c
commit df3d671916
+1 -1
View File
@@ -32,7 +32,7 @@ steps:
inputs: inputs:
targetType: 'inline' targetType: 'inline'
script: | 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' workingDirectory: '$(Build.SourcesDirectory)\GUT.Schedule\GUTSchedule.UWP'
- task: DownloadSecureFile@1 - task: DownloadSecureFile@1