8000 Improved Windows publish readme and fixed directory perms (#48) · python/release-tools@f500b21 · GitHub
[go: up one dir, main page]

Skip to content

Commit f500b21

Browse files
authored
Improved Windows publish readme and fixed directory perms (#48)
1 parent 8485d3b commit f500b21

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

windows-release/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,22 @@ When signing is enabled (any value besides "Unsigned"), authorised approvers wil
2121
will need to approve each stage that requires the signing certificate (typically three).
2222
This helps prevent "surprise" builds from using the official certificate.
2323

24+
Some additional points to be aware of:
25+
26+
* packages are not automatically published to the Microsoft Store
27+
* successful builds should be retained by selecting "Retain" under the "..." menu in the top-right
28+
29+
The `msixupload` artifacts should be uploaded to the Microsoft Store at
30+
https://partner.microsoft.com/en-us/dashboard/apps-and-games/overview.
31+
Access to this site is very limited.
32+
We also usually update the screenshots so that the version information they show matches the release.
33+
34+
Azure DevOps no longer has a per-pipeline option for retention,
35+
and so the only way to permanently retain a build is to manually select the "Retain" option.
36+
Without this, the build records will be lost after 30 days.
37+
38+
## Finding/updating certificates
39+
2440
The code signing certificate is stored in Azure Key Vault, and is authenticated using the
2541
variables in a Variable group called CPythonSign. The variable group is what triggers approvals.
2642
The group is at https://dev.azure.com/Python/cpython/_library?itemType=VariableGroups&view=VariableGroupView&variableGroupId=1&path=CPythonSign

windows-release/uploadrelease.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ if ($doc_htmlhelp) {
7777
$d = "$target/$($p[0])/"
7878
& $plink -batch -hostkey $hostkey -noagent -i $keyfile "$user@$server" mkdir $d
7979
& $plink -batch -hostkey $hostkey -noagent -i $keyfile "$user@$server" chgrp downloads $d
80-
& $plink -batch -hostkey $hostkey -noagent -i $keyfile "$user@$server" chmod "o+rx" $d
80+
& $plink -batch -hostkey $hostkey -noagent -i $keyfile "$user@$server" chmod "a+rx" $d
8181
if ($chm) {
8282
& $pscp -batch -hostkey $hostkey -noagent -i $keyfile $chm.FullName "$user@${server}:$d"
8383
if (-not $?) { throw "Failed to upload $chm" }
@@ -104,7 +104,7 @@ foreach ($a in $dirs) {
104104
$sd = "$d$($a.Name)$($p[1])/"
105105
& $plink -batch -hostkey $hostkey -noagent -i $keyfile "$user@$server" mkdir $sd
106106
& $plink -batch -hostkey $hostkey -noagent -i $keyfile "$user@$server" chgrp downloads $sd
107-
& $plink -batch -hostkey $hostkey -noagent -i $keyfile "$user@$server" chmod "o+rx" $sd
107+
& $plink -batch -hostkey $hostkey -noagent -i $keyfile "$user@$server" chmod "a+rx" $sd
108108
& $pscp -batch -hostkey $hostkey -noagent -i $keyfile $msi.FullName "$user@${server}:$sd"
109109
if (-not $?) { throw "Failed to upload $msi" }
110110
& $plink -batch -hostkey $hostkey -noagent -i $keyfile "$user@$server" chgrp downloads $sd*

0 commit comments

Comments
 (0)
0