@echo off setlocal cd /d "%~dp0" echo ForgeFlow source and binary release publisher echo. powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File "%~dp0Publish-ForgeFlow-Release.ps1" set "forgeflowExitCode=%ERRORLEVEL%" echo. if not "%forgeflowExitCode%"=="0" ( echo Publication failed. The existing ForgeFlow installation was not modified. ) else ( echo Publication completed. The older ForgeFlow updater can now install this release. ) pause exit /b %forgeflowExitCode%