Skip to content

Commit f7f1b85

Browse files
author
Oron Port
committed
publish wip
1 parent e649dde commit f7f1b85

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

build.sbt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ commands += DFHDLCommands.docExamplesRefUpdate
55
val projectName = "dfhdl"
66
val compilerVersion = "3.7.1"
77

8-
import xerial.sbt.Sonatype.sonatype01
98
inThisBuild(
109
List(
1110
homepage := Some(url("https://dfianthdl.github.io/")),
@@ -20,7 +19,11 @@ inThisBuild(
2019
url("https://twitter.com/soronpo")
2120
)
2221
),
23-
sonatypeCredentialHost := sonatype01
22+
publishTo := {
23+
val centralSnapshots = "https://central.sonatype.com/repository/maven-snapshots/"
24+
if (isSnapshot.value) Some("central-snapshots" at centralSnapshots)
25+
else localStaging.value
26+
}
2427
)
2528
)
2629

project/plugins.sbt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@ addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.4")
55
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.11.1")
66

77
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.4")
8-
9-
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.21")

0 commit comments

Comments
 (0)