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"