From 57c596f68a293f67bdd7d024b469187d27624d69 Mon Sep 17 00:00:00 2001 From: mgifos Date: Tue, 10 Apr 2018 14:48:45 +0200 Subject: [PATCH] preparations for a release 0.2.1 --- build.sbt | 22 +++++++++++++++++++--- project/plugins.sbt | 3 ++- version.sbt | 2 +- 3 files changed, 22 insertions(+), 5 deletions(-) diff --git a/build.sbt b/build.sbt index 35d96fa..f13f694 100644 --- a/build.sbt +++ b/build.sbt @@ -1,6 +1,7 @@ -name := "quick-plan" +import com.typesafe.sbt.packager.SettingsHelper._ +import ReleaseTransformations._ -version := "0.1" +name := "quick-plan" lazy val root = (project in file(".")).enablePlugins( JavaAppPackaging, @@ -19,4 +20,19 @@ libraryDependencies ++= Seq( "com.typesafe.play" %% "play-json" % "2.6.9", "com.typesafe.scala-logging" %% "scala-logging" % "3.7.2", "org.scalatest" %% "scalatest" % "3.0.5" % "test" -) \ No newline at end of file +) + +releaseProcess := Seq[ReleaseStep]( + checkSnapshotDependencies, + inquireVersions, + runClean, + runTest, + setReleaseVersion, + commitReleaseVersion, + tagRelease, + setNextVersion, + commitNextVersion, + pushChanges +) + +makeDeploymentSettings(Universal, packageBin in Universal, "zip") \ No newline at end of file diff --git a/project/plugins.sbt b/project/plugins.sbt index 8e2e095..42c0a27 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,3 +1,4 @@ +addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.8") +addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.3.3") addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.8.2") -addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.3.3") diff --git a/version.sbt b/version.sbt index 19138f1..3649ad7 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -version in ThisBuild := "0.1-SNAPSHOT" \ No newline at end of file +version in ThisBuild := "0.3-SNAPSHOT"