steps:
- 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
displayName: 'Download artifact: doc'
inputs:
clean: all
steps:
- - checkout: none
+ - template: ./checkout.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
displayName: 'Download Artifact: unsigned_msix'
inputs:
- template: ./checkout.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: |
Write-Host "##vso[build.addbuildtag]signed"
displayName: 'Add build tags'
--- /dev/null
+Fixes the description that appears in UAC prompts.