diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2013-06-06 14:25:43 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2013-06-06 16:10:05 -0700 |
commit | 6d81771f832964c2f31179875585b1ea80cd4b55 (patch) | |
tree | 1b766ac7c3ef9aa40c666626f8787d018d80f22b | |
parent | bef4d375563af5c1f46bf15e192389f0ab19131e (diff) |
Tighten tag filter on version.sh's git describe.
-rwxr-xr-x | version.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,2 +1,2 @@ #!/bin/bash -git describe --always --tags --dirty="+" --match="v*" | sed -e 's@-\([^-]*\)-\([^-]*\)$@+\1.\2@;s@^v@@' +git describe --always --tags --dirty="+" --match="v[0-9]*" | sed -e 's@-\([^-]*\)-\([^-]*\)$@+\1.\2@;s@^v@@' |