build: production Windows release pipeline (PyInstaller, SBOM, CI, signing hook)
This commit is contained in:
27
build_release.bat
Normal file
27
build_release.bat
Normal file
@@ -0,0 +1,27 @@
|
||||
@echo off
|
||||
setlocal
|
||||
title Proxy God — production release build
|
||||
cd /d "%~dp0"
|
||||
|
||||
echo.
|
||||
echo === Proxy God: production release (tests + SBOM + zip) ===
|
||||
echo.
|
||||
|
||||
where py >nul 2>nul && py -3 -c "import sys; assert sys.version_info>=(3,10)" 2>nul && goto RUN
|
||||
where python >nul 2>nul && python -c "import sys; assert sys.version_info>=(3,10)" 2>nul && goto RUN
|
||||
|
||||
echo [X] Python 3.10+ not found on PATH.
|
||||
pause
|
||||
exit /b 1
|
||||
|
||||
:RUN
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0scripts\release_build.ps1" %*
|
||||
if errorlevel 1 (
|
||||
echo.
|
||||
echo Release build FAILED.
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
echo.
|
||||
pause
|
||||
endlocal
|
||||
Reference in New Issue
Block a user