From 364fac5849d86e3e6f9e930c88d461015e0b1295 Mon Sep 17 00:00:00 2001 From: Erik Osheim Date: Fri, 28 Apr 2017 18:56:11 -0400 Subject: [PATCH] Include Sonatype staging in release process. --- build.sbt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/build.sbt b/build.sbt index 4b14a02b..536da407 100644 --- a/build.sbt +++ b/build.sbt @@ -1,3 +1,5 @@ +import ReleaseTransformations._ + lazy val noPublish = Seq( publish := {}, publishLocal := {}, @@ -38,6 +40,19 @@ lazy val paigesSettings = Seq( publishMavenStyle := true, publishArtifact in Test := false, pomIncludeRepository := Function.const(false), + releaseProcess := Seq[ReleaseStep]( + checkSnapshotDependencies, + inquireVersions, + runClean, + runTest, + setReleaseVersion, + commitReleaseVersion, + tagRelease, + publishArtifacts, + setNextVersion, + commitNextVersion, + ReleaseStep(action = Command.process("sonatypeReleaseAll", _)), + pushChanges), publishTo := { val nexus = "https://oss.sonatype.org/" if (isSnapshot.value)