semver-git icon indicating copy to clipboard operation
semver-git copied to clipboard

semver-git gives proper version on dirty working tree

Open deepy opened this issue 7 years ago • 1 comments

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.

deepy avatar Jul 10 '18 08:07 deepy

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.

emlun avatar Jan 31 '23 20:01 emlun