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 false
} }
ThisBuild / publishTo := { ThisBuild / publishTo := {
val nexus = "https://oss.sonatype.org/" val centralSnapshots = "https://central.sonatype.com/repository/maven-snapshots/"
Some("releases" at nexus + "service/local/staging/deploy/maven2") if (isSnapshot.value) Some("central-snapshots" at centralSnapshots)
else localStaging.value
} }
ThisBuild / publishMavenStyle := true ThisBuild / publishMavenStyle := true

View File

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