Apply snapshot repository configuration to maintenance phase used in branch-only arrangements.

See #39
This commit is contained in:
Mark Paluch
2023-06-16 16:44:16 +02:00
parent e6ab1461e4
commit d152dba80b
2 changed files with 2 additions and 3 deletions

View File

@@ -96,7 +96,7 @@ public class UpdateInformation {
}
}
if (phase == Phase.CLEANUP) {
if (phase == Phase.CLEANUP || phase == Phase.MAINTENANCE) {
return Arrays.asList(Repository.SNAPSHOT, Repository.MILESTONE);
}

View File

@@ -68,8 +68,7 @@ public class ReleaseTrains {
.withCalver("2021.1");
RAJ = Q.next("Raj", Transition.MINOR) //
.withCalver("2021.2") //
.withAlwaysUseBranch(true);
.withCalver("2021.2");
TURING = PASCAL.next("Turing", Transition.MAJOR, //
new Module(RELATIONAL, "3.0")) //