Settings for git-based versioning.
Settings for git-based versioning.
SBT settings
Usage:
This scheme yields the following versions in order:
0.0.0-SNAPSHOT
0.0.0-xxxxx-SNAPSHOT //with xxxxxx a SHA-1
1.0.0 // for a commit whose SHA-1 has been tagged with v1.0.0
1.0.0-2-yyyyy-SNAPSHOT // for the second commit after the tag
git.baseVersion := "1.0.0"
http://blog.byjean.eu/2015/07/10/painless-release-with-sbt.html