File tree Expand file tree Collapse file tree 4 files changed +20
-1
lines changed
.azure-pipelines/windows-release Expand file tree Collapse file tree 4 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 11steps :
22 - template : ./checkout.yml
33
4+ - powershell : |
5+ $d = (.\PCbuild\build.bat -V) | %{ if($_ -match '\s+(\w+):\s*(.+)\s*$') { @{$Matches[1] = $Matches[2];} }};
6+ Write-Host "##vso[task.setvariable variable=SigningDescription]Python $($d.PythonVersion)"
7+ displayName: 'Update signing description'
8+ condition: and(succeeded(), not(variables['SigningDescription']))
9+
410 - task : DownloadPipelineArtifact@1
511 displayName : ' Download artifact: doc'
612 inputs :
Original file line number Diff line number Diff line change @@ -105,9 +105,15 @@ jobs:
105105 clean : all
106106
107107 steps :
108- - checkout : none
108+ - template : ./checkout.yml
109109 - template : ./find-sdk.yml
110110
111+ - powershell : |
112+ $d = (.\PCbuild\build.bat -V) | %{ if($_ -match '\s+(\w+):\s*(.+)\s*$') { @{$Matches[1] = $Matches[2];} }};
113+ Write-Host "##vso[task.setvariable variable=SigningDescription]Python $($d.PythonVersion)"
114+ displayName: 'Update signing description'
115+ condition: and(succeeded(), not(variables['SigningDescription']))
116+
111117 - task : DownloadBuildArtifacts@0
112118 displayName : ' Download Artifact: unsigned_msix'
113119 inputs :
Original file line number Diff line number Diff line change 2626 - template : ./checkout.yml
2727 - template : ./find-sdk.yml
2828
29+ - powershell : |
30+ $d = (.\PCbuild\build.bat -V) | %{ if($_ -match '\s+(\w+):\s*(.+)\s*$') { @{$Matches[1] = $Matches[2];} }};
31+ Write-Host "##vso[task.setvariable variable=SigningDescription]Python $($d.PythonVersion)"
32+ displayName: 'Update signing description'
33+ condition: and(succeeded(), not(variables['SigningDescription']))
34+
2935 - powershell : |
3036 Write-Host "##vso[build.addbuildtag]signed"
3137 displayName: 'Add build tags'
Original file line number Diff line number Diff line change 1+ Fixes the description that appears in UAC prompts.
You can’t perform that action at this time.
0 commit comments