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

Design: Generalize Git harvester to allow SemVer or regex modes #4

Open jennings opened 12 years ago

jennings commented 12 years ago

Not everyone will agree that tags should be spelled vX.Y.Z as recommended by semver.org. Therefore, the Git harvester should have two modes:

  1. SemVer mode which retains the current behavior.
  2. Regex mode, which accepts a regex to match tags, such as version-(\d+).(\d+).(\d+)