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 1
1
steps :
2
2
- template : ./checkout.yml
3
3
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
+
4
10
- task : DownloadPipelineArtifact@1
5
11
displayName : ' Download artifact: doc'
6
12
inputs :
Original file line number Diff line number Diff line change @@ -105,9 +105,15 @@ jobs:
105
105
clean : all
106
106
107
107
steps :
108
- - checkout : none
108
+ - template : ./checkout.yml
109
109
- template : ./find-sdk.yml
110
110
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
+
111
117
- task : DownloadBuildArtifacts@0
112
118
displayName : ' Download Artifact: unsigned_msix'
113
119
inputs :
Original file line number Diff line number Diff line change 26
26
- template : ./checkout.yml
27
27
- template : ./find-sdk.yml
28
28
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
+
29
35
- powershell : |
30
36
Write-Host "##vso[build.addbuildtag]signed"
31
37
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