fix: release build script; add releases README and v1.0.0 download links
This commit is contained in:
10
README.md
10
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).
|
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):
|
Tag-driven CI build (GitHub):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git tag v1.0.0
|
git tag v1.0.0
|
||||||
git push origin v1.0.0
|
git push origin v1.0.0
|
||||||
|
git push github v1.0.0
|
||||||
```
|
```
|
||||||
|
|
||||||
### Developer build (Desktop copy)
|
### Developer build (Desktop copy)
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ function Invoke-CodeSign {
|
|||||||
param([string]$ExePath)
|
param([string]$ExePath)
|
||||||
$cert = $env:SIGN_CERT_PATH
|
$cert = $env:SIGN_CERT_PATH
|
||||||
if (-not $cert) {
|
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
|
return
|
||||||
}
|
}
|
||||||
if (-not (Test-Path $cert)) { throw "SIGN_CERT_PATH not found: $cert" }
|
if (-not (Test-Path $cert)) { throw "SIGN_CERT_PATH not found: $cert" }
|
||||||
@@ -126,7 +126,7 @@ function Invoke-CodeSign {
|
|||||||
if (-not (Test-Path $signtool)) {
|
if (-not (Test-Path $signtool)) {
|
||||||
$signtool = (Get-Command signtool.exe -ErrorAction SilentlyContinue).Source
|
$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 =="
|
Write-Host "`n== Authenticode sign =="
|
||||||
$args = @("sign", "/fd", "SHA256", "/f", $cert, "/tr", "http://timestamp.digicert.com", "/td", "SHA256")
|
$args = @("sign", "/fd", "SHA256", "/f", $cert, "/tr", "http://timestamp.digicert.com", "/td", "SHA256")
|
||||||
if ($env:SIGN_CERT_PASSWORD) {
|
if ($env:SIGN_CERT_PASSWORD) {
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ def build_version_info(version: str, commit: str = "") -> str:
|
|||||||
filevers = prodvers = _parse_version(version)
|
filevers = prodvers = _parse_version(version)
|
||||||
commit_suffix = f" ({commit})" if commit else ""
|
commit_suffix = f" ({commit})" if commit else ""
|
||||||
return f"""# UTF-8
|
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(
|
VSVersionInfo(
|
||||||
ffi=FixedFileInfo(
|
ffi=FixedFileInfo(
|
||||||
filevers={filevers},
|
filevers={filevers},
|
||||||
@@ -43,7 +43,7 @@ VSVersionInfo(
|
|||||||
StringTable(
|
StringTable(
|
||||||
u'040904B0',
|
u'040904B0',
|
||||||
[StringStruct(u'CompanyName', u'Proxy God'),
|
[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'FileVersion', u'{version}{commit_suffix}'),
|
||||||
StringStruct(u'InternalName', u'ProxyChainManager'),
|
StringStruct(u'InternalName', u'ProxyChainManager'),
|
||||||
StringStruct(u'LegalCopyright', u'MIT License'),
|
StringStruct(u'LegalCopyright', u'MIT License'),
|
||||||
|
|||||||
@@ -91,8 +91,7 @@ Write-ReleaseManifest -OutDir $releaseDir -Version $ver -Commit $commit `
|
|||||||
requirements_frozen = (Split-Path -Leaf $sbom.Freeze)
|
requirements_frozen = (Split-Path -Leaf $sbom.Freeze)
|
||||||
}
|
}
|
||||||
|
|
||||||
# Also refresh dist/ sidecars for developers
|
# dist/ sidecar is already written by Write-ExeHashSidecar on $exe
|
||||||
Copy-Item -LiteralPath $hashInfo.Sidecar -Destination (Join-Path $root "dist\ProxyChainManager.exe.sha256") -Force
|
|
||||||
|
|
||||||
if (-not $NoZip) {
|
if (-not $NoZip) {
|
||||||
$zip = New-ReleaseZip -ReleaseDir $releaseDir -Version $ver -Root $root
|
$zip = New-ReleaseZip -ReleaseDir $releaseDir -Version $ver -Root $root
|
||||||
|
|||||||
Reference in New Issue
Block a user