summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.azure-pipelines/windows-release/msi-steps.yml6
-rw-r--r--.azure-pipelines/windows-release/stage-pack-msix.yml8
-rw-r--r--.azure-pipelines/windows-release/stage-sign.yml6
-rw-r--r--Misc/NEWS.d/next/Windows/2020-08-06-16-59-10.bpo-41492.2FQ9cM.rst1
4 files changed, 20 insertions, 1 deletions
diff --git a/.azure-pipelines/windows-release/msi-steps.yml b/.azure-pipelines/windows-release/msi-steps.yml
index a460eb1..307510a 100644
--- a/.azure-pipelines/windows-release/msi-steps.yml
+++ b/.azure-pipelines/windows-release/msi-steps.yml
@@ -1,6 +1,12 @@
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:
diff --git a/.azure-pipelines/windows-release/stage-pack-msix.yml b/.azure-pipelines/windows-release/stage-pack-msix.yml
index 07e343a..26a5712 100644
--- a/.azure-pipelines/windows-release/stage-pack-msix.yml
+++ b/.azure-pipelines/windows-release/stage-pack-msix.yml
@@ -105,9 +105,15 @@ jobs:
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:
diff --git a/.azure-pipelines/windows-release/stage-sign.yml b/.azure-pipelines/windows-release/stage-sign.yml
index 4d757ae..584772a 100644
--- a/.azure-pipelines/windows-release/stage-sign.yml
+++ b/.azure-pipelines/windows-release/stage-sign.yml
@@ -27,6 +27,12 @@ jobs:
- 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'
diff --git a/Misc/NEWS.d/next/Windows/2020-08-06-16-59-10.bpo-41492.2FQ9cM.rst b/Misc/NEWS.d/next/Windows/2020-08-06-16-59-10.bpo-41492.2FQ9cM.rst
new file mode 100644
index 0000000..065803e
--- /dev/null
+++ b/Misc/NEWS.d/next/Windows/2020-08-06-16-59-10.bpo-41492.2FQ9cM.rst
@@ -0,0 +1 @@
+Fixes the description that appears in UAC prompts.