bpo-41492: Fixes the description appearing in UAC prompts on Windows (GH-21754)
This commit is contained in:
parent
79bb2c93f2
commit
777b611c8c
|
@ -1,6 +1,12 @@
|
||||||
steps:
|
steps:
|
||||||
- template: ./checkout.yml
|
- template: ./checkout.yml
|
||||||
|
|
||||||
|
- powershell: |
|
||||||
|
$d = (.\PCbuild\build.bat -V) | %{ if($_ -match '\s+(\w+):\s*(.+)\s*$') { @{$Matches[1] = $Matches[2];} }};
|
||||||
|
Write-Host "##vso[task.setvariable variable=SigningDescription]Python $($d.PythonVersion)"
|
||||||
|
displayName: 'Update signing description'
|
||||||
|
condition: and(succeeded(), not(variables['SigningDescription']))
|
||||||
|
|
||||||
- task: DownloadPipelineArtifact@1
|
- task: DownloadPipelineArtifact@1
|
||||||
displayName: 'Download artifact: doc'
|
displayName: 'Download artifact: doc'
|
||||||
inputs:
|
inputs:
|
||||||
|
|
|
@ -105,9 +105,15 @@ jobs:
|
||||||
clean: all
|
clean: all
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- checkout: none
|
- template: ./checkout.yml
|
||||||
- template: ./find-sdk.yml
|
- template: ./find-sdk.yml
|
||||||
|
|
||||||
|
- powershell: |
|
||||||
|
$d = (.\PCbuild\build.bat -V) | %{ if($_ -match '\s+(\w+):\s*(.+)\s*$') { @{$Matches[1] = $Matches[2];} }};
|
||||||
|
Write-Host "##vso[task.setvariable variable=SigningDescription]Python $($d.PythonVersion)"
|
||||||
|
displayName: 'Update signing description'
|
||||||
|
condition: and(succeeded(), not(variables['SigningDescription']))
|
||||||
|
|
||||||
- task: DownloadBuildArtifacts@0
|
- task: DownloadBuildArtifacts@0
|
||||||
displayName: 'Download Artifact: unsigned_msix'
|
displayName: 'Download Artifact: unsigned_msix'
|
||||||
inputs:
|
inputs:
|
||||||
|
|
|
@ -26,6 +26,12 @@ jobs:
|
||||||
- template: ./checkout.yml
|
- template: ./checkout.yml
|
||||||
- template: ./find-sdk.yml
|
- template: ./find-sdk.yml
|
||||||
|
|
||||||
|
- powershell: |
|
||||||
|
$d = (.\PCbuild\build.bat -V) | %{ if($_ -match '\s+(\w+):\s*(.+)\s*$') { @{$Matches[1] = $Matches[2];} }};
|
||||||
|
Write-Host "##vso[task.setvariable variable=SigningDescription]Python $($d.PythonVersion)"
|
||||||
|
displayName: 'Update signing description'
|
||||||
|
condition: and(succeeded(), not(variables['SigningDescription']))
|
||||||
|
|
||||||
- powershell: |
|
- powershell: |
|
||||||
Write-Host "##vso[build.addbuildtag]signed"
|
Write-Host "##vso[build.addbuildtag]signed"
|
||||||
displayName: 'Add build tags'
|
displayName: 'Add build tags'
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Fixes the description that appears in UAC prompts.
|
Loading…
Reference in New Issue