Skip to content

Commit

Permalink
Upgrade to Tomcat October '24 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kartikvarma committed Oct 31, 2024
1 parent 8d966fa commit 7bf130a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/main/scala/io/sdkman/changelogs/TomcatMigration.scala
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,30 @@ class TomcatMigration {
setCandidateDefault("tomcat", "10.1.30")
}

@ChangeSet(
order = "018",
id = "018-update_tomcat_versions",
author = "kartikvarma"
)
def migration018(implicit db: MongoDatabase): Document = {
removeVersion("tomcat", "11.0.0-M26")

List(
"9" -> "9.0.96",
"10" -> "10.1.31",
"11" -> "11.0.0"
).map {
case (series: String, version: String) =>
Version(
candidate = "tomcat",
version = version,
url =
s"https://archive.apache.org/dist/tomcat/tomcat-$series/v$version/bin/apache-tomcat-$version.zip"
)
}
.validate()
.insert()
setCandidateDefault("tomcat", "11.0.0")
}

}

0 comments on commit 7bf130a

Please sign in to comment.