Skip to content

Commit

Permalink
Disable cross-module doc link until release definition is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwalker committed Sep 19, 2015
1 parent 1cef7c3 commit 4b9b7a0
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import scala.reflect.ClassTag
* This is an alternative over constructors, that use the `Class[A], Any*`
* overload to create actors.
*
* You must use [[TypedActor]]s and these actors must be `case class`es for
* You must use `TypedActor`s and these actors must be `case class`es for
* this to work.
*
* Example:
Expand Down
34 changes: 33 additions & 1 deletion project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import sbt._
import sbt.Keys._
import de.knutwalker.sbt._
import de.knutwalker.sbt.KSbtKeys._
import sbtrelease.ReleasePlugin.autoImport._
import sbtrelease.ReleaseStateTransformations._
import sbtrelease.Version

object Build extends AutoPlugin {
Expand Down Expand Up @@ -32,7 +34,22 @@ object Build extends AutoPlugin {
pomExtra := pomExtra.value ++
<properties>
<info.apiURL>http://{githubProject.value.org}.github.io/{githubProject.value.repo}/api/{version.value}/</info.apiURL>
</properties>
</properties>,
releaseProcess := List[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
publishSignedArtifacts,
releaseToCentral,
pushGithubPages,
setNextVersion,
commitNextVersion,
pushChanges
)
)

def mapAkkaJar(cp: Seq[Attributed[File]], crossVersion: String): Map[File, URL] =
Expand Down Expand Up @@ -117,4 +134,19 @@ object Build extends AutoPlugin {
case a a
}
}

private lazy val publishSignedArtifacts = ReleaseStep(
action = Command.process("publishSigned", _),
enableCrossBuild = true
)

private lazy val releaseToCentral = ReleaseStep(
action = Command.process("sonatypeReleaseAll", _),
enableCrossBuild = true
)

private lazy val pushGithubPages = ReleaseStep(
action = Command.process("docs/ghpagesPushSite", _),
enableCrossBuild = false
)
}

0 comments on commit 4b9b7a0

Please sign in to comment.