]> git.saurik.com Git - winterboard.git/commitdiff
I forgot the version.sh.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 18 Oct 2011 06:06:16 +0000 (06:06 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Tue, 18 Oct 2011 06:06:16 +0000 (06:06 +0000)
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@@'