]> git.saurik.com Git - safemode-ios.git/commitdiff
Set Version: in control based on git describe --tags. v0.9.3367+6
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 28 Nov 2010 01:34:42 +0000 (17:34 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 28 Nov 2010 01:34:42 +0000 (17:34 -0800)
version.sh [new file with mode: 0755]

diff --git a/version.sh b/version.sh
new file mode 100755 (executable)
index 0000000..1cbbfbf
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/bash
+git describe --tags --dirty="+" --match="v*" | sed -e 's@-\([^-]*\)-\([^-]*\)$@+\1.\2@;s@^v@@'