diff --git a/src/main/java/io/quarkus/bot/release/ReleaseInformation.java b/src/main/java/io/quarkus/bot/release/ReleaseInformation.java index 3d35dd1..054fd3a 100644 --- a/src/main/java/io/quarkus/bot/release/ReleaseInformation.java +++ b/src/main/java/io/quarkus/bot/release/ReleaseInformation.java @@ -34,6 +34,15 @@ public String getVersion() { return version; } + @JsonIgnore + public String getFullVersion() { + if (Branches.isLts(branch)) { + return version + " LTS"; + } + + return version; + } + public String getBranch() { return branch; } diff --git a/src/main/java/io/quarkus/bot/release/step/Prerequisites.java b/src/main/java/io/quarkus/bot/release/step/Prerequisites.java index 0278a53..ee1ce6c 100644 --- a/src/main/java/io/quarkus/bot/release/step/Prerequisites.java +++ b/src/main/java/io/quarkus/bot/release/step/Prerequisites.java @@ -48,6 +48,9 @@ public int run(Context context, Commands commands, GitHub quarkusBotGitHub, Rele if (releaseInformation.isMajor()) { command.add("--major"); } + if (Branches.isLts(releaseInformation.getBranch())) { + command.add("--lts"); + } int exitCode = processes.execute(command); if (exitCode != 0) {