altosdroid: match only the current version tag
authorMike Beattie <mike@ethernal.org>
Tue, 23 Oct 2012 06:22:52 +0000 (19:22 +1300)
committerMike Beattie <mike@ethernal.org>
Tue, 23 Oct 2012 06:30:43 +0000 (19:30 +1300)
commit37a09f1edc57924dabcf2a71794a42e37b5a354c
treeaea22a4ed75525ac7b614aae8991e35b93cc00af
parent9e60fa214ad2c48fbe8f7e5c437681aa35d249fa
altosdroid: match only the current version tag

Don't match non version tags - and always return the long format of
git describe, rather than just the tag (when the tag is on the current
commit).

Split the commit number/hash more reliably by removing the version tag
from the result first.

Signed-off-by: Mike Beattie <mike@ethernal.org>
altosdroid/buildinfo.sh