From 19af26ddbeed2d4cf96a47518f5f777d44ced51c Mon Sep 17 00:00:00 2001 From: EvilFactory Date: Thu, 28 Mar 2024 16:48:50 -0300 Subject: [PATCH] Fixed the disable-interactivity CI patch --- Deploy/patches/disable-interactivity.diff | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Deploy/patches/disable-interactivity.diff b/Deploy/patches/disable-interactivity.diff index 1abdc68c2..5d137730a 100644 --- a/Deploy/patches/disable-interactivity.diff +++ b/Deploy/patches/disable-interactivity.diff @@ -1,8 +1,8 @@ diff --git a/Deploy/DeployAll/Program.cs b/Deploy/DeployAll/Program.cs -index 3de060435..6e199b4d4 100644 +index 5f5c532022..f160260636 100644 --- a/Deploy/DeployAll/Program.cs +++ b/Deploy/DeployAll/Program.cs -@@ -22,37 +22,9 @@ string gitBranch = GitCmd.GetBranch(); +@@ -24,44 +24,11 @@ string gitBranch = GitCmd.GetBranch(); Console.WriteLine($"DEPLOYALL - Barotrauma v{gameVersion}, branch {gitBranch}, revision {gitRevision}"); @@ -26,10 +26,17 @@ index 3de060435..6e199b4d4 100644 - "2" => "Unstable", - _ => "" -}; --if (string.IsNullOrWhiteSpace(configuration)) { return; } +const string configuration = "Release"; + if (string.IsNullOrWhiteSpace(configuration)) { return; } Deployables.Generate(configuration, gameVersion, gitBranch, gitRevision); + +-if (Util.AskQuestion("Would you like to upload the generated builds to EGS? [y/n]") +- .AnsweredYes()) +-{ +- EgsAssistant.Upload(gameVersion, configuration, gitRevision); +-} +- - -if (Util.AskQuestion("Would you like to upload the generated builds to Steam? [y/n]") - .AnsweredNo()) { return; }