diff --git a/version.sbt b/version.sbt index 87c01ed..60b60a5 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1,6 @@ -version in ThisBuild := "0.3.0-SNAPSHOT" +version in ThisBuild := { + import sys.process._ + val version = Seq("git", "describe", "--tags").!!.trim.tail + println("[info] Setting version to: " + version) + version +}