diff --git a/tools/CustomBuildTool/Build.cs b/tools/CustomBuildTool/Build.cs index adeb48a555a2..000e60192565 100644 --- a/tools/CustomBuildTool/Build.cs +++ b/tools/CustomBuildTool/Build.cs @@ -1047,8 +1047,8 @@ public static bool BuildDeployUpdateConfig() public static GithubRelease BuildDeployUploadGithubConfig() { - if (!GithubReleases.DeleteRelease(Build.BuildShortVersion)) - return null; + //if (!GithubReleases.DeleteRelease(Build.BuildShortVersion)) + // return null; GithubRelease mirror = null; diff --git a/tools/CustomBuildTool/GithubReleases.cs b/tools/CustomBuildTool/GithubReleases.cs index 3c153add5512..596f13ec0981 100644 --- a/tools/CustomBuildTool/GithubReleases.cs +++ b/tools/CustomBuildTool/GithubReleases.cs @@ -112,7 +112,7 @@ public static bool DeleteRelease(string Version) } { - var result = Task.Run(responseMessage.Content.ReadAsStringAsync).GetAwaiter().GetResult(); + var result = responseMessage.Content.ReadAsStringAsync().GetAwaiter().GetResult(); if (string.IsNullOrWhiteSpace(result)) {