From 9396b818d8b4e62fcc1bb7de23828bc49d625f52 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Wed, 8 Jan 2025 13:08:48 +0100 Subject: [PATCH] Register 3.20 as the next LTS --- src/main/java/io/quarkus/bot/release/util/Branches.java | 2 +- src/test/java/io/quarkus/bot/release/BranchesTest.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/io/quarkus/bot/release/util/Branches.java b/src/main/java/io/quarkus/bot/release/util/Branches.java index a8f9c2a..291592b 100644 --- a/src/main/java/io/quarkus/bot/release/util/Branches.java +++ b/src/main/java/io/quarkus/bot/release/util/Branches.java @@ -9,7 +9,7 @@ public class Branches { public static final String MAIN = "main"; - private static final List LTS_BRANCHES = List.of("3.15", "3.8", "3.2", "2.13"); + private static final List LTS_BRANCHES = List.of("3.20", "3.15", "3.8", "3.2", "2.13"); public static final String BRANCH_2_13 = "2.13"; public static String getPlatformPreparationBranch(ReleaseInformation releaseInformation) { diff --git a/src/test/java/io/quarkus/bot/release/BranchesTest.java b/src/test/java/io/quarkus/bot/release/BranchesTest.java index c2ab343..f34e196 100644 --- a/src/test/java/io/quarkus/bot/release/BranchesTest.java +++ b/src/test/java/io/quarkus/bot/release/BranchesTest.java @@ -42,6 +42,8 @@ void testLts() { assertThat(Branches.isLts("3.4")).isFalse(); assertThat(Branches.isLts("3.8")).isTrue(); assertThat(Branches.isLts("3.9")).isFalse(); + assertThat(Branches.isLts("3.15")).isTrue(); + assertThat(Branches.isLts("3.20")).isTrue(); } @Test