]> git.saurik.com Git - safemode-ios.git/blobdiff - version.sh
I guess someone requested this a long time ago :(.
[safemode-ios.git] / version.sh
index 1cbbfbf8d6f82f8259e5e758f89d3874d31ef38b..87a1e1dd84c69e7f08504153644e9740cfe6504d 100755 (executable)
@@ -1,2 +1,2 @@
 #!/bin/bash
-git describe --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@@'