tvdstaaij / node-git-describe

Git describe information at runtime, with semver support
36 stars 5 forks source link

Make --long an optional arguement #15

Closed maxemann96 closed 3 years ago

maxemann96 commented 3 years ago

It would be nice if a commit is a tag, that not the long format is used. For example our version is 0.3.2, with the --long format the following output is generated: 0.3.2-0-ge1c9efd. For backward compatibility the long option should be true by default.