File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,13 +20,7 @@ lazy val publishSettings = Seq(
2020 pomIncludeRepository := { _ =>
2121 false
2222 },
23- publishTo := {
24- val nexus = " https://oss.sonatype.org/"
25- if (isSnapshot.value)
26- Some (" snapshots" at nexus + " content/repositories/snapshots" )
27- else
28- Some (" releases" at nexus + " service/local/staging/deploy/maven2" )
29- },
23+ publishTo := sonatypePublishToBundle.value,
3024 autoAPIMappings := true ,
3125 scmInfo := Some (
3226 ScmInfo (
@@ -62,9 +56,9 @@ releaseProcess := Seq[ReleaseStep](
6256 commitReleaseVersion,
6357 tagRelease,
6458 releaseStepCommand(" publishSigned" ),
59+ releaseStepCommand(" sonatypeBundleRelease" ),
6560 setNextVersion,
6661 commitNextVersion,
67- releaseStepCommand(" sonatypeReleaseAll" ),
6862 pushChanges
6963)
7064
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.3.1")
22addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.5.5" )
33addSbtPlugin(" com.github.sbt" % " sbt-release" % " 1.4.0" )
44addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 3.12.2" )
5- addSbtPlugin(" com.jsuereth " % " sbt-pgp" % " 2.0.1 " )
5+ addSbtPlugin(" com.github.sbt " % " sbt-pgp" % " 2.1.2 " )
You can’t perform that action at this time.
0 commit comments