mirror of https://github.com/sbt/sbt.git
ci: Use Central Portal for publishing
This commit is contained in:
parent
a0ed4d9847
commit
d93e1226e3
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
sbt.version=1.10.7
|
sbt.version=1.11.0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue