semver-git
semver-git copied to clipboard
semver-git gives proper version on dirty working tree
If we have a tagged version and a dirty working tree, semver-git gives us the tagged version.
The expected result is probably rather a SNAPSHOT.
This is because the dirty marker is only added if a there is a <dirty> placeholder in ext.snapshotSuffix, which by default is just SNAPSHOT.
I agree this is unexpected, though.