ARTOO: Use git describe for version strings

This commit is contained in:
Matt 2018-01-01 12:49:21 -05:00
parent 8ba6feb817
commit a8991811d3

View File

@ -1,5 +1,7 @@
#!/bin/bash
# this command should really execute:
# git describe --tags
# but we don't have any version tags in the repo yet, so lets fake it:
echo v3.0.0
## Returns the most recent release tag string
## If the head is the most recent tag, it will display only the tag such as v3.0.0
## If there are untagged commits after the last tag, it will display something v3.0.0-2-876FH
git describe --tags