Shallow clones don't report the tag in git describe, so use git rev-list to extract the tag and prepend it to the version string. Signed-off-by: Eric Callahan <arksine.code@gmail.com>