]> git.saurik.com Git - safemode-ios.git/commitdiff
Tighten tag filter on version.sh's git describe.
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 6 Jun 2013 21:25:43 +0000 (14:25 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 6 Jun 2013 23:10:05 +0000 (16:10 -0700)
version.sh

index e200e1685c388f8cfdc8d994fdcbaf4053d126e9..87a1e1dd84c69e7f08504153644e9740cfe6504d 100755 (executable)
@@ -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@@'