forked from workingDog/scalaPSL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonatype.sbt
38 lines (33 loc) · 945 Bytes
/
sonatype.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
pomExtra := {
<scm>
<url>https://github.com/workingDog/scalaPSL</url>
<connection>scm:git:[email protected]:workingDog/scalaPSL.git</connection>
</scm>
<developers>
<developer>
<id>workingDog</id>
<name>Ringo Wathelet</name>
<url>https://github.com/workingDog</url>
</developer>
</developers>
}
pomIncludeRepository := { _ => false }
// Release settings
sonatypeProfileName := "com.github.workingDog"
releasePublishArtifactsAction := PgpKeys.publishSigned.value
releaseCrossBuild := true
releaseTagName := (version in ThisBuild).value
import ReleaseTransformations._
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
publishArtifacts,
ReleaseStep(action = Command.process("publishSigned", _)),
releaseStepCommand("sonatypeRelease"),
setNextVersion,
commitNextVersion,
pushChanges
)