Skip to content

Commit 5cf2f9a

Browse files
committed
test #GITBUILD
1 parent 16d340b commit 5cf2f9a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

BuildInstaller.bat

+11-1
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,19 @@ IF %error% NEQ 0 (
5252

5353
ECHO:
5454
ECHO === Building Installer ===
55-
CALL "%devenv_path%" UnityLauncherPro.sln /Rebuild Release /Project UnityLauncherProInstaller
55+
"%devenv_path%" UnityLauncherPro.sln /Rebuild Release /Project UnityLauncherProInstaller > build_output.log 2>&1
5656
SET "exitCode=%ERRORLEVEL%"
5757

58+
TYPE build_output.log
59+
ECHO:
60+
ECHO === devenv.exe exit code: %exitCode% ===
61+
62+
IF NOT "%exitCode%"=="0" (
63+
ECHO [ERROR] Installer build failed. Check build_output.log for details.
64+
EXIT /B %exitCode%
65+
)
66+
67+
5868
ECHO:
5969
ECHO === Build Complete ===
6070

0 commit comments

Comments
 (0)