Skip to content

Commit 364fac5

Browse files
committed
Include Sonatype staging in release process.
1 parent a03a611 commit 364fac5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

build.sbt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import ReleaseTransformations._
2+
13
lazy val noPublish = Seq(
24
publish := {},
35
publishLocal := {},
@@ -38,6 +40,19 @@ lazy val paigesSettings = Seq(
3840
publishMavenStyle := true,
3941
publishArtifact in Test := false,
4042
pomIncludeRepository := Function.const(false),
43+
releaseProcess := Seq[ReleaseStep](
44+
checkSnapshotDependencies,
45+
inquireVersions,
46+
runClean,
47+
runTest,
48+
setReleaseVersion,
49+
commitReleaseVersion,
50+
tagRelease,
51+
publishArtifacts,
52+
setNextVersion,
53+
commitNextVersion,
54+
ReleaseStep(action = Command.process("sonatypeReleaseAll", _)),
55+
pushChanges),
4156
publishTo := {
4257
val nexus = "https://oss.sonatype.org/"
4358
if (isSnapshot.value)

0 commit comments

Comments
 (0)