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

@@ -90,11 +90,21 @@ powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\release_build.ps1
Output: `releases\ProxyGod-v{version}-windows-amd64.zip` and `releases\v{version}\` (exe, checksum, SBOM, manifest). See [docs/RELEASE_PROCESS.md](docs/RELEASE_PROCESS.md).
### Download (no build required)
**Latest release: [v1.0.0](https://github.com/sudo-jones-cmd/PROXY_GOD/releases/tag/v1.0.0)**
- `ProxyGod-v1.0.0-windows-amd64.zip` — full package (exe + checksum + SBOM + runbook)
- Or grab `ProxyChainManager.exe` from the release assets
Local copy after building: [releases/v1.0.0/](releases/v1.0.0/)
Tag-driven CI build (GitHub):
```bash
git tag v1.0.0
git push origin v1.0.0
git push github v1.0.0
```
### Developer build (Desktop copy)

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