diff options
-rw-r--r-- | build.sbt | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,2 +1,6 @@ sbtPlugin := true name := "sbt-gpg" +version in ThisBuild := { + import sys.process._ + ("git describe --always --dirty=-SNAPSHOT --match v[0-9].*" !!).tail.trim +} |