From 78a119a4f4b64a0b5504cb3aecee29ce78279a85 Mon Sep 17 00:00:00 2001 From: Johnny Shaw Date: Mon, 20 Jan 2025 19:46:30 -0700 Subject: [PATCH] CustomBuildTool fix build hang --- tools/CustomBuildTool/Build.cs | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/tools/CustomBuildTool/Build.cs b/tools/CustomBuildTool/Build.cs index a7f778f54a82..5264ab75b342 100644 --- a/tools/CustomBuildTool/Build.cs +++ b/tools/CustomBuildTool/Build.cs @@ -979,14 +979,14 @@ public static bool BuildUpdateServerConfig() } if (!BuildUploadServerConfig( - buildBuildId, - buildPostSfUrl, - buildPostSfApiKey, - BuildUploadInfo.Item1, - BuildUploadInfo.Item2, - BuildUploadInfo.Item3, - BuildUploadInfo.Item4, - release, + buildBuildId, + buildPostSfUrl, + buildPostSfApiKey, + BuildUploadInfo.Item1, + BuildUploadInfo.Item2, + BuildUploadInfo.Item3, + BuildUploadInfo.Item4, + release, canary )) { @@ -1682,13 +1682,15 @@ public static void ExportDefinitionsRevert() Utils.WriteAllText("SystemInformer\\SystemInformer.def", export_backup); } + + break; } catch (Exception ex) { Program.PrintColorMessage($"[WARN] {ex}", ConsoleColor.Yellow); } - Thread.Sleep(10000); + Thread.Sleep(3000); } } }