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

git --tags to include non-annotated tags #10

Closed davistan closed 9 years ago

davistan commented 11 years ago

Hi, thanks for this tools. However, I've spent awhile to figure out why my tag is still returning 0.0.0 and the reason is I created a tag in git without annotation.

Reading from the manual, we could add --tags in the git describe command.

This will make harvester works on both annotated and non-annotated tags.

jennings commented 11 years ago

I can't think of a reason why we would have wanted to ignore lightweight tags. Submit a pull request and I'll merge it in.

jennings commented 9 years ago

Closed with #11