From 08f9979cc68c7e4fd3c383a4ed1ee3812e4cb9bd Mon Sep 17 00:00:00 2001 From: Dr Jones Date: Fri, 22 May 2026 20:11:41 -0700 Subject: [PATCH] fix: release build script; add releases README and v1.0.0 download links --- README.md | 10 ++++++++++ scripts/_build_common.ps1 | 4 ++-- scripts/generate_version_info.py | 4 ++-- scripts/release_build.ps1 | 3 +-- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 64a4297..9abcfd2 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/scripts/_build_common.ps1 b/scripts/_build_common.ps1 index 2785fdf..cda81b1 100644 --- a/scripts/_build_common.ps1 +++ b/scripts/_build_common.ps1 @@ -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) { diff --git a/scripts/generate_version_info.py b/scripts/generate_version_info.py index 5cddcdb..4c1d705 100644 --- a/scripts/generate_version_info.py +++ b/scripts/generate_version_info.py @@ -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'), diff --git a/scripts/release_build.ps1 b/scripts/release_build.ps1 index 40b3b8a..4af5f4a 100644 --- a/scripts/release_build.ps1 +++ b/scripts/release_build.ps1 @@ -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