jennings / SemVerHarvester

SemVerHarvester is a MSBuild task library that harvests version numbers from tags in source control repositories. Eventually I should fold this into MSBuild Community Tasks.
14 stars 7 forks source link

Mercurial task cannot handle special versions such as 1.0.0beta1 #3

Open jennings opened 12 years ago

jennings commented 12 years ago

Rule 3 of the semantic versioning spec says:

A special version number MAY be denoted by appending an arbitrary string immediately following the patch version. The string MUST be comprised of only alphanumerics plus dash [0-9A-Za-z-] and MUST begin with an alpha character [A-Za-z]. Special versions satisfy but have a lower precedence than the associated normal version.

The task currently does not handle this at all.