fix: release build script; add releases README and v1.0.0 download links
Some checks failed
CI / Test Python 3.10 (push) Has been cancelled
CI / Test Python 3.11 (push) Has been cancelled
CI / Test Python 3.12 (push) Has been cancelled
Release Build / Build Windows release (push) Has been cancelled

This commit is contained in:
Dr Jones
2026-05-22 20:11:41 -07:00
parent 08683ab328
commit 08f9979cc6
4 changed files with 15 additions and 6 deletions

View File

@@ -118,7 +118,7 @@ function Invoke-CodeSign {
param([string]$ExePath)
$cert = $env:SIGN_CERT_PATH
if (-not $cert) {
Write-Host " (signing skipped set SIGN_CERT_PATH to a .pfx to Authenticode-sign)"
Write-Host " (signing skipped - set SIGN_CERT_PATH to a .pfx to Authenticode-sign)"
return
}
if (-not (Test-Path $cert)) { throw "SIGN_CERT_PATH not found: $cert" }
@@ -126,7 +126,7 @@ function Invoke-CodeSign {
if (-not (Test-Path $signtool)) {
$signtool = (Get-Command signtool.exe -ErrorAction SilentlyContinue).Source
}
if (-not $signtool) { throw "signtool.exe not found install Windows SDK" }
if (-not $signtool) { throw "signtool.exe not found - install Windows SDK" }
Write-Host "`n== Authenticode sign =="
$args = @("sign", "/fd", "SHA256", "/f", $cert, "/tr", "http://timestamp.digicert.com", "/td", "SHA256")
if ($env:SIGN_CERT_PASSWORD) {

View File

@@ -25,7 +25,7 @@ def build_version_info(version: str, commit: str = "") -> str:
filevers = prodvers = _parse_version(version)
commit_suffix = f" ({commit})" if commit else ""
return f"""# UTF-8
# Generated by scripts/generate_version_info.py do not edit by hand.
# Generated by scripts/generate_version_info.py - do not edit by hand.
VSVersionInfo(
ffi=FixedFileInfo(
filevers={filevers},
@@ -43,7 +43,7 @@ VSVersionInfo(
StringTable(
u'040904B0',
[StringStruct(u'CompanyName', u'Proxy God'),
StringStruct(u'FileDescription', u'Proxy God multi-hop proxy chain manager'),
StringStruct(u'FileDescription', u'Proxy God - multi-hop proxy chain manager'),
StringStruct(u'FileVersion', u'{version}{commit_suffix}'),
StringStruct(u'InternalName', u'ProxyChainManager'),
StringStruct(u'LegalCopyright', u'MIT License'),

View File

@@ -91,8 +91,7 @@ Write-ReleaseManifest -OutDir $releaseDir -Version $ver -Commit $commit `
requirements_frozen = (Split-Path -Leaf $sbom.Freeze)
}
# Also refresh dist/ sidecars for developers
Copy-Item -LiteralPath $hashInfo.Sidecar -Destination (Join-Path $root "dist\ProxyChainManager.exe.sha256") -Force
# dist/ sidecar is already written by Write-ExeHashSidecar on $exe
if (-not $NoZip) {
$zip = New-ReleaseZip -ReleaseDir $releaseDir -Version $ver -Root $root