fhcrc / taxtastic

Create and maintain phylogenetic "reference packages" of biological sequences.
GNU General Public License v3.0
21 stars 10 forks source link

Version number #8

Closed nhoffman closed 13 years ago

nhoffman commented 13 years ago

All scripts need to provide a version number in the help text. The question is, what will the number correspond to? Optimally, I'd like something like

major.minor.revision (like 0.1.384568)

to uniquely identify a git revision.

matsen commented 13 years ago

The usual way to identify revisions with git is to use

git tag -a

and you can probably think of a clever way to attach that in all of the places you desire using

git describe

and some shell magick. (That way you don't need the big ugly git number).

madhadron commented 13 years ago

taxit --version produces a version number, which is typical behavior. Most tools do not provide version numbers with the help text.