Merge pull request #8147 from eed3si9n/wip/publish

[1.x] ci: Use Central Portal for publishing
This commit is contained in:
eugene yokota 2025-06-01 18:05:28 -04:00 committed by GitHub
commit 019a1dd1f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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