Skip to content

Commit

Permalink
Merge PR #43: Properly return error codes for errors in ifs in mumble…
Browse files Browse the repository at this point in the history
…-win*.cmd
  • Loading branch information
mkrautz committed Feb 11, 2017
2 parents 1c734a6 + 557adba commit c0886a0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions buildscripts/1.3.x/mumble-win32-static.cmd
Expand Up @@ -61,6 +61,7 @@ if "%MUMBLE_DO_PLUGIN_REPLACEMENT" == "1" (
echo Perform plugin replacement
python "%MUMBLE_PREFIX%\mumble-releng\tools\plugin_replacement.py" --version "%mumblebuildversion%" --repo . release\plugins
)
if errorlevel 1 exit /b %errorlevel%

echo Build installer
SET MumbleNoMergeModule=1
Expand All @@ -85,11 +86,10 @@ cd ..\..\..
if not "%MUMBLE_SKIP_INTERNAL_SIGNING%" == "1" (
echo Adding build machine's signature to installer
signtool sign /sm /a "installer/bin/Release/mumble-%mumblebuildversion%.msi"
if errorlevel 1 exit /b %errorlevel%
)
if errorlevel 1 exit /b %errorlevel%

if not "%MUMBLE_SKIP_COLLECT_SYMBOLS%" == "1" (
python "%MUMBLE_BUILDENV_DIR%\mumble-releng\tools\collect_symbols.py" collect --version "%mumblebuildversion%" --buildtype "%MUMBLE_BUILD_TYPE%" --product "Mumble %MUMBLE_BUILD_ARCH%" release\ symbols.7z
if errorlevel 1 exit /b %errorlevel%
)

if errorlevel 1 exit /b %errorlevel%
2 changes: 1 addition & 1 deletion buildscripts/1.3.x/mumble-win64-static-portable.cmd
Expand Up @@ -52,5 +52,5 @@ if errorlevel 1 exit /b %errorlevel%

if not "%MUMBLE_SKIP_COLLECT_SYMBOLS%" == "1" (
python "%MUMBLE_BUILDENV_DIR%\mumble-releng\tools\collect_symbols.py" collect --version "%mumblebuildversion%" --buildtype "%MUMBLE_BUILD_TYPE%" --product "Mumble %MUMBLE_BUILD_ARCH% Portable" release\ symbols.7z
if errorlevel 1 exit /b %errorlevel%
)
if errorlevel 1 exit /b %errorlevel%
5 changes: 2 additions & 3 deletions buildscripts/1.3.x/mumble-win64-static.cmd
Expand Up @@ -51,11 +51,10 @@ cd ..\..\..\..
if not "%MUMBLE_SKIP_INTERNAL_SIGNING%" == "1" (
echo Adding build machine's signature to installer
signtool sign /sm /a "installer/bin/x64/Release/mumble-%mumblebuildversion%.winx64.msi"
if errorlevel 1 exit /b %errorlevel%
)
if errorlevel 1 exit /b %errorlevel%

if not "%MUMBLE_SKIP_COLLECT_SYMBOLS%" == "1" (
python "%MUMBLE_BUILDENV_DIR%\mumble-releng\tools\collect_symbols.py" collect --version "%mumblebuildversion%" --buildtype "%MUMBLE_BUILD_TYPE%" --product "Mumble %MUMBLE_BUILD_ARCH%" release\ symbols.7z
if errorlevel 1 exit /b %errorlevel%
)

if errorlevel 1 exit /b %errorlevel%

0 comments on commit c0886a0

Please sign in to comment.