aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2024-06-02 00:45:07 +1000
committerGitHub <noreply@github.com>2024-06-01 16:45:07 +0200
commit309f255cd687d9c85bdc816f66d148924b0a37d2 (patch)
tree162188da01c02e619a1fb6f7405831fa3e4c5012
parent9ec5cb6940919d9f89e60aa1d817dd4cced8ac2e (diff)
downloadNotEnoughUpdates-309f255cd687d9c85bdc816f66d148924b0a37d2.tar.gz
NotEnoughUpdates-309f255cd687d9c85bdc816f66d148924b0a37d2.tar.bz2
NotEnoughUpdates-309f255cd687d9c85bdc816f66d148924b0a37d2.zip
Remove automaticlly changing to prerelease branch (#1184)
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/NotEnoughUpdates.java11
1 files 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()) {