diff --git a/build.sbt b/build.sbt index eac6b85..10f5b06 100644 --- a/build.sbt +++ b/build.sbt @@ -19,7 +19,7 @@ def buildInfo(packageName: String, v: String) = Def.settings( ) lazy val commonSettings = Seq( - publishTo := sonatypePublishToBundle.value, + publishTo := (if (isSnapshot.value) None else localStaging.value), scalacOptions ++= Seq("-deprecation"), scalacOptions ++= { scalaBinaryVersion.value match { @@ -29,7 +29,6 @@ lazy val commonSettings = Seq( Seq("-language:_", "-Xlint", "-Xfuture") } }, - sonatypeProfileName := "org.foundweekends", crossSbtVersions := Seq("1.2.8") ) @@ -93,7 +92,7 @@ lazy val root = (project in file(".")). commitReleaseVersion, tagRelease, releaseStepCommandAndRemaining(s";publishSigned;^ plugin/publishSigned"), - releaseStepCommandAndRemaining("sonatypeBundleRelease"), + releaseStepCommandAndRemaining("sonaRelease"), setNextVersion, commitNextVersion, pushChanges diff --git a/project/plugins.sbt b/project/plugins.sbt index bf64e6d..4636b51 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,5 +1,4 @@ addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.3.1") -addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.21") addSbtPlugin("com.github.sbt" % "sbt-release" % "1.4.0") addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.13.1") addSbtPlugin("com.github.xuwei-k" % "sbt-proguard" % "0.5.1")