Files
Ant Browser Release Bot fc5a6fadbe publish: 1.1.0 snapshot (ff46de5)
channel: master
version: 1.1.0
source-ref: master
published-at-utc: 2026-03-20T14:14:07Z
2026-03-20 22:14:08 +08:00

23 lines
552 B
Batchfile

@echo off
setlocal EnableExtensions
set "SCRIPT_DIR=%~dp0"
if not exist "%SCRIPT_DIR%build.ps1" (
echo [ERROR] Missing bat\build.ps1
if /I not "%NO_PAUSE%"=="1" if /I not "%CI%"=="1" pause
endlocal & exit /b 1
)
powershell -NoProfile -ExecutionPolicy Bypass -File "%SCRIPT_DIR%build.ps1" %*
set "EXIT_CODE=%ERRORLEVEL%"
echo.
if "%EXIT_CODE%"=="0" (
echo Build finished successfully.
) else (
echo Build failed with exit code %EXIT_CODE%.
)
if /I not "%NO_PAUSE%"=="1" if /I not "%CI%"=="1" pause
endlocal & exit /b %EXIT_CODE%