From 309f255cd687d9c85bdc816f66d148924b0a37d2 Mon Sep 17 00:00:00 2001 From: NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> Date: Sun, 2 Jun 2024 00:45:07 +1000 Subject: Remove automaticlly changing to prerelease branch (#1184) --- .../github/moulberry/notenoughupdates/NotEnoughUpdates.java | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java b/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java index 848185a8..b7586a93 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java @@ -260,14 +260,9 @@ public class NotEnoughUpdates { config.apiData.repoBranch = "master"; } - // Remove after 2.1 ig - if ("dangerous".equals(config.apiData.repoBranch)) { - config.apiData.repoBranch = "prerelease"; - } - - // Remove before 2.1.1 release - if ("master".equals(config.apiData.repoBranch)) { - config.apiData.repoBranch = "prerelease"; + // When this is changed next, also change it in the build gradle + if ("prerelease".equals(config.apiData.repoBranch)) { + config.apiData.repoBranch = "master"; } if (config.apiData.moulberryCodesApi.isEmpty()) { -- cgit