]> git.saurik.com Git - uikittools.git/blob - version.sh
Port to Xcode 4.6.3: newer versions of Xcode fail.
[uikittools.git] / version.sh
1 #!/bin/bash
2 echo -n "$(git describe --tags --dirty="+" --match="v*" | sed -e 's@-\([^-]*\)-\([^-]*\)$@+\1.\2@;s@^v@@')"
3 grep '#define ForRelease 0' MobileCydia.mm &>/dev/null && echo -n '~srk'
4 echo