Skip to content

Commit 7e1285d

Browse files
committed
update publish setting
1 parent ce23d95 commit 7e1285d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ lazy val commonSettings = Def.settings(
368368
</developer>
369369
</developers>
370370
},
371-
publishTo := sonatypePublishToBundle.value,
371+
publishTo := (if (isSnapshot.value) None else localStaging.value),
372372
(Compile / doc / scalacOptions) ++= {
373373
val t = tagOrHash.value
374374
Seq(
@@ -398,7 +398,7 @@ lazy val commonSettings = Def.settings(
398398
},
399399
enableCrossBuild = true
400400
),
401-
releaseStepCommand("sonatypeBundleRelease"),
401+
releaseStepCommand("sonaRelease"),
402402
setNextVersion,
403403
commitNextVersion,
404404
UpdateReadme.updateReadmeProcess,

project/plugins.sbt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.2")
88

99
addSbtPlugin("com.github.sbt" % "sbt-release" % "1.4.0")
1010

11-
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.12.0")
12-
1311
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.3.1")
1412

1513
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.5")

0 commit comments

Comments
 (0)