ci: Use Central Portal for publishing

This commit is contained in:
Eugene Yokota 2025-06-01 17:53:33 -04:00
parent a0ed4d9847
commit d93e1226e3
2 changed files with 4 additions and 3 deletions

View File

@ -1494,7 +1494,8 @@ ThisBuild / pomIncludeRepository := { _ =>
false
}
ThisBuild / publishTo := {
val nexus = "https://oss.sonatype.org/"
Some("releases" at nexus + "service/local/staging/deploy/maven2")
val centralSnapshots = "https://central.sonatype.com/repository/maven-snapshots/"
if (isSnapshot.value) Some("central-snapshots" at centralSnapshots)
else localStaging.value
}
ThisBuild / publishMavenStyle := true

View File

@ -1 +1 @@
sbt.version=1.10.7
sbt.version=1.11.0