Open
Description
Following on from #93, I think it would be valuable to have the option (even if it is not the default) to produce SemVer-compliant versions. Some thoughts on how to do that:
- a
dynverStrictSemVer
Boolean
setting that defaults tofalse
- for the base version, use the previous version with the patch number incremented by 1
- since this will only be done if
dynverStrictSemVer
is set, we can require that the previous version is SemVer compliant - stretch goal to have a setting to customise which part of the version gets incremented?
- since this will only be done if
- for the pre-release portion, use
dynver.<commits since last release>
- doesn't have to be
dynver
, but it would be nice to have some non-numeric string that makes it easy to create other custom pre-releases with higher or lower precedence
- doesn't have to be
- for the metadata portion, use
<commit hash prefix>.SNAPSHOT
(or something similar that is valid for sonatype/maven)
Metadata
Metadata
Assignees
Labels
No labels