-
Notifications
You must be signed in to change notification settings - Fork 50
/
release.sbt.old
56 lines (41 loc) · 1.46 KB
/
release.sbt.old
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
import sbtrelease.ReleasePlugin._
import ReleaseKeys._
import bintray.Keys._
name := "massivedatascience-clusterer"
bintrayPublishSettings
bintrayOrganization in bintray := Some("derrickburns")
// publishing
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
pomExtra := {
<scm>
<connection>scm:git:[email protected]:derrickburns/generalized-kmeans-clustering.git</connection>
<url>http://github.com/derrickburns/generalized-kmeans-clustering.git</url>
<developerConnection>scm:git:[email protected]:derrickburns/generalized-kmeans-clustering.git
</developerConnection>
</scm>
<developers>
<developer>
<id>derrick</id>
<name>Derrick Burns</name>
<email>[email protected]</email>
<organization>Massive Data Science, LLC</organization>
<roles>
<role>founder</role>
<role>architect</role>
<role>developer</role>
</roles>
<timezone>-8</timezone>
</developer>
</developers>
<url>http://github.com/derrickburns/generalized-kmeans-clustering</url>
}
// release
releaseSettings
// bump bugfix on release
nextVersion := { ver => sbtrelease.Version(ver).map(_.bumpBugfix.asSnapshot.string).getOrElse(sbtrelease.versionFormatError) }
// use maven style tag name
tagName <<= (name, version in ThisBuild) map { (n,v) => n + "-" + v }
// sign artifacts
publishArtifactsAction := PgpKeys.publishSigned.value