forked from raquo/Airstream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelease.sbt
60 lines (44 loc) · 1.16 KB
/
release.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
53
54
55
56
57
58
59
name := "Airstream"
normalizedName := "airstream"
organization := "com.raquo"
homepage := Some(url("https://github.com/raquo/Airstream"))
licenses += ("MIT", url("https://github.com/raquo/Airstream/blob/master/LICENSE.md"))
scmInfo := Some(
ScmInfo(
url("https://github.com/raquo/Airstream"),
"scm:[email protected]/raquo/Airstream.git"
)
)
developers := List(
Developer(
id = "raquo",
name = "Nikita Gazarov",
email = "[email protected]",
url = url("http://raquo.com")
)
)
sonatypeProfileName := "com.raquo"
publishMavenStyle := true
(Test / publishArtifact) := false
publishTo := sonatypePublishToBundle.value
releaseCrossBuild := true
pomIncludeRepository := { _ => false }
releaseProcess := {
import ReleaseTransformations._
Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
releaseStepCommandAndRemaining("+publishSigned"),
releaseStepCommand("sonatypeBundleRelease"),
setNextVersion,
commitNextVersion,
pushChanges
)
}
//useGpg := true
releasePublishArtifactsAction := PgpKeys.publishSigned.value