-
Notifications
You must be signed in to change notification settings - Fork 2
/
sonatype.sbt
executable file
·35 lines (32 loc) · 999 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
// To sync with Maven central, you need to supply the following information:
pomExtra in Global := {
<url>github.com/arturopala/scala-xml-security</url>
<scm>
<connection>https://github.com/arturopala/scala-xml-security.git</connection>
<developerConnection>git@github.com:arturopala/scala-xml-security.git</developerConnection>
<url>github.com/arturopala/scala-xml-security</url>
</scm>
<developers>
<developer>
<id>arturopala</id>
<name>Artur Opala</name>
<url>https://pl.linkedin.com/in/arturopala</url>
</developer>
</developers>
}
import ReleaseTransformations._
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
ReleaseStep(action = Command.process("publishSigned", _)),
setNextVersion,
commitNextVersion,
ReleaseStep(action = Command.process("sonatypeReleaseAll", _)),
pushChanges
)
releaseUseGlobalVersion := false