Skip to content

Commit

Permalink
Fix version references in VERIFICATION.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackenmen authored and AdmiringWorm committed Dec 6, 2022
1 parent c2d67f5 commit 180d650
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion automatic/python3/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ and can be verified by doing the following:
checksum64: EA5D760B4F7023F5AE60A369674A7E3F9FD2A7561D1D1F901E03F0F80C7C0F9C

The file 'LICENSE.txt' has been obtained from Python 3.11 Documentation archive <https://docs.python.org/3.11/archives/python-3.11.0rc2-docs-text.zip>
and can also be found at https://docs.python.org/3.11/license.html.
and can also be found at <https://docs.python.org/3.11/license.html>.
20 changes: 11 additions & 9 deletions automatic/python3/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ function global:au_SearchReplace {
"(?i)(\s+x64:).*" = "`${1} $($Latest.URL64)"
"(?i)(checksum32:).*" = "`${1} $($Latest.Checksum32)"
"(?i)(checksum64:).*" = "`${1} $($Latest.Checksum64)"
"(?i)(\s*Documentation archive.*)\<.*\>" = "`${1}<$($Latest.ZipUrl)>"
"(?i)3.\d+(\s*Documentation archive\s*)\<.*\>" = "$($Latest.VersionTwoPart)`${1}<$($Latest.ZipUrl)>"
"(?i)(\s*can also be found at\s*)\<.*\>" = "`${1}<$($Latest.LicenseUrl)>"
}
}
}
Expand Down Expand Up @@ -130,14 +131,15 @@ function GetStreams() {
$zip_url = "https://docs.python.org/$versionTwoPart/archives/$zip_name.zip"
$license_url = "https://docs.python.org/$versionTwoPart/license.html"
$streams[$versionTwoPart] = @{
URL32 = $urls['86']
URL64 = $urls['64']
Version = $version
ZipName = $zip_name
ZipUrl = $zip_url
LicenseUrl = $license_url
PackageName = 'python3'
Title = 'Python 3.x'
URL32 = $urls['86']
URL64 = $urls['64']
Version = $version
VersionTwoPart = $versionTwoPart
ZipName = $zip_name
ZipUrl = $zip_url
LicenseUrl = $license_url
PackageName = 'python3'
Title = 'Python 3.x'
}
$streams["$versionTwoPart-minor"] = $streams[$versionTwoPart].Clone()
$streams["$versionTwoPart-minor"]['PackageName'] += $minor_version
Expand Down

0 comments on commit 180d650

Please sign in to comment.