Skip to content

Commit e8d7ba1

Browse files
committed
trying some things
1 parent 693bced commit e8d7ba1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

build.sbt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
import sbt.Keys.thisProjectRef
22
import xerial.sbt.Sonatype._
33

4-
ThisBuild / publishTo := sonatypePublishToBundle.value
4+
ThisBuild / publishTo := {
5+
val centralSnapshots = "https://central.sonatype.com/repository/maven-snapshots/"
6+
if (isSnapshot.value)
7+
Some("Sonatype Snapshots" at centralSnapshots)
8+
else
9+
localStaging.value
10+
}
511
ThisBuild / organization := "io.waylay"
612
ThisBuild / homepage := Some(url("https://waylay.io"))
713
ThisBuild / developers := List(

0 commit comments

Comments
 (0)