-
Notifications
You must be signed in to change notification settings - Fork 4
/
publish.sbt
52 lines (43 loc) · 1.21 KB
/
publish.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
licenses := Seq("BSD-2-Clause" -> url("https://opensource.org/licenses/BSD-2-Clause"))
homepage := Some(url("http://github.com/rubicon-project/rubiz"))
publishMavenStyle := true
releaseCrossBuild := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
useGpg := true
pomExtra := (
<scm>
<url>[email protected]:rubicon-project/rubiz.git</url>
<connection>scm:[email protected]:rubicon-project/rubiz.git</connection>
</scm>
<developers>
{
Seq(
("coltfred", "Colt Frederickson"),
("skeet70", "Murph Murphy")
).map {
case (id, name) =>
<developer>
<id>{id}</id>
<name>{name}</name>
<url>http://github.com/{id}</url>
</developer>
}
}
</developers>
)
import ReleaseTransformations._
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
ReleaseStep(action = Command.process("publishSigned", _), enableCrossBuild = true),
setNextVersion,
commitNextVersion,
ReleaseStep(action = Command.process("sonatypeReleaseAll", _), enableCrossBuild = true),
pushChanges
)