Skip to content

Commit 1fc2c86

Browse files
committed
Use SBT Release Plugin (https://github.com/sbt/sbt-release).
1 parent fa738cf commit 1fc2c86

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

Diff for: build.sbt

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name := "sbt-scoverage"
22

33
organization := "org.scoverage"
44

5-
version := "1.0.5-SNAPSHOT"
6-
75
scalaVersion := "2.10.4"
86

97
scalacOptions := Seq("-unchecked", "-deprecation", "-feature", "-encoding", "utf8")
@@ -41,3 +39,7 @@ scriptedLaunchOpts := {
4139
scriptedLaunchOpts.value ++
4240
Seq("-Xmx1024M", "-XX:MaxPermSize=256M", "-Dplugin.version=" + version.value)
4341
}
42+
43+
releaseSettings
44+
45+
ReleaseKeys.publishArtifactsAction := PgpKeys.publishSigned.value

Diff for: project/plugins.sbt

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ libraryDependencies <+= sbtVersion(v => "org.scala-sbt" % "scripted-plugin" % v)
44

55
addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8.3")
66

7-
addSbtPlugin("com.typesafe.sbt" % "sbt-scalariform" % "1.3.0")
7+
addSbtPlugin("com.typesafe.sbt" % "sbt-scalariform" % "1.3.0")
8+
9+
addSbtPlugin("com.github.gseitz" % "sbt-release" % "0.8.5")

Diff for: version.sbt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
version in ThisBuild := "1.0.5-SNAPSHOT"

0 commit comments

Comments
 (0)