Skip to content

Commit

Permalink
Include Sonatype staging in release process.
Browse files Browse the repository at this point in the history
  • Loading branch information
non committed Apr 28, 2017
1 parent a03a611 commit 364fac5
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import ReleaseTransformations._

lazy val noPublish = Seq(
publish := {},
publishLocal := {},
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 364fac5

Please sign in to comment.