Skip to content

Commit a2bfc87

Browse files
committed
publishing setup
1 parent ab59577 commit a2bfc87

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

build.sbt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,12 @@ lazy val docs = project
204204
)
205205

206206
lazy val commonSettings = Seq(
207+
publishTo := {
208+
if ((ThisBuild / isVersionStable).value)
209+
Some("Releases".at("https://oss.sonatype.org/service/local/staging/deploy/maven2"))
210+
else
211+
None
212+
},
207213
// The validation steps that we run in CI.
208214
TaskKey[Unit]("checkCI") := Def
209215
.sequential(

project/plugins.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.0.0")
88
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2")
99
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.5.2")
1010
addSbtPlugin("com.codecommit" % "sbt-github-actions" % "0.9.5")
11+
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1")
12+
addSbtPlugin("io.crashbox" % "sbt-gpg" % "0.2.1")

0 commit comments

Comments
 (0)