Skip to content

Commit 2c8eb8d

Browse files
committed
Update release process dependencies
1 parent 2851306 commit 2c8eb8d

2 files changed

Lines changed: 3 additions & 9 deletions

File tree

build.sbt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff 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

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.3.1")
22
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.5")
33
addSbtPlugin("com.github.sbt" % "sbt-release" % "1.4.0")
44
addSbtPlugin("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")

0 commit comments

Comments
 (0)