From 2a2522bb70bcd39ce7aaa9d25be01c5a3de9f6ae Mon Sep 17 00:00:00 2001 From: dmex Date: Wed, 25 Dec 2024 15:52:25 +1100 Subject: [PATCH] --- tools/CustomBuildTool/Build.cs | 4 ++-- tools/CustomBuildTool/GithubReleases.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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)) {