From e2511cfbacfa5f78dcac5ccc4013462107ae2c68 Mon Sep 17 00:00:00 2001 From: Ralph Sennhauser Date: Wed, 19 Feb 2025 21:33:28 +0100 Subject: [PATCH] Propagate error for failed update-workspace.bat If running premake fails during update workspace then update workspace needs to exit with an error as well so the CI will actually report an error. According to Itms testing with powershell passing the original error is unreliable, so just exit with one. Fixes: #7642 Signed-off-by: Ralph Sennhauser --- build/workspaces/update-workspaces.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/workspaces/update-workspaces.bat b/build/workspaces/update-workspaces.bat index 51cfea2011..f674bab446 100644 --- a/build/workspaces/update-workspaces.bat +++ b/build/workspaces/update-workspaces.bat @@ -3,5 +3,5 @@ rem ** Create Visual Studio Workspaces on Windows ** cd /D "%~dp0" cd ..\bin -if not exist ..\workspaces\vs2017\SKIP_PREMAKE_HERE premake5.exe --file="../premake/premake5.lua" --outpath="../workspaces/vs2017" %* vs2017 +if not exist ..\workspaces\vs2017\SKIP_PREMAKE_HERE premake5.exe --file="../premake/premake5.lua" --outpath="../workspaces/vs2017" %* vs2017 || exit /b 1 cd ..\workspaces