We have a Play application that has been using sbt-git for a pretty long time. We are using this configuration:
ThisBuild / git.baseVersion := "0.0.0"
ThisBuild / git.useGitDescribe := true
With plugin v1.0.0, this has generated the expected version output for years (e.g. 2.4.5-35-gef0caf4-SNAPSHOT or similar).
After updating to v2.0.1, I found that the version number was no longer populated as expected. Instead, I would always get something like this:
0.0.0-a7b866ec1300a9c63a2a27a26938f34fdcdcb391-SNAPSHOT
It appears that the version number itself is not being populated at all, and the full commit identifier is used. It does not follow the format from "git describe" at all.
For the time being, I am instead using v2.0.0, which works as expected. I'm unsure if this is a bug, or if v2.0.1 requires additional configuration?