This changes the version string to be approximately semver-compatible and a bit more descriptive:
MAJOR.MINOR.PATCHwill always be defined in
- If git is present and we're ahead of the latest git tag,
-<commits_ahead_count>-<commit_short_hash>will be used as a pre-release
:pleroma, :build_nameis defined, this will be used as a build
- If the Mix environment differs from
prod, it will be appended to the build
The build can be used to indicate a fork, a version of a CI build, ….