Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Added latest Tomcat releases and fixed too extensive deletion
- Added latest Tomcat releases for all supported series
- Taken into account the comments from the code review: Rolled back removal of old versions except the removal of outdated milestone releases
  • Loading branch information
StefanPenndorf committed Mar 5, 2023
commit 85ff53576c6086e086a9c1308d555fbaf9db380a
9 changes: 4 additions & 5 deletions src/main/scala/io/sdkman/changelogs/TomcatMigration.scala
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,17 @@ class TomcatMigration {
author = "stefanpenndorf"
)
def migration010(implicit db: MongoDatabase): Document = {
removeVersion("tomcat", "7.0.106")
removeVersion("tomcat", "7.0.109")
removeVersion("tomcat", "10.0.0-M10")
removeVersion("tomcat", "10.0.14")
removeVersion("tomcat", "10.0.22")
removeVersion("tomcat", "10.1.0-M8")

List(
"8" -> "8.5.86",
"8" -> "8.5.87",
"9" -> "9.0.65",
"9" -> "9.0.72",
"9" -> "9.0.73",
"10" -> "10.1.6",
"10" -> "10.1.7",
"11" -> "11.0.0-M3"
).map {
case (series: String, version: String) =>
Expand All @@ -103,6 +102,6 @@ class TomcatMigration {
}
.validate()
.insert()
setCandidateDefault("tomcat", "10.1.6")
setCandidateDefault("tomcat", "10.1.7")
}
}