X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/45211c6724e888d9baa3cc8217f46d42e5c2fa13..985d2dffd5fac3d86bf9f76ee972604e20c29f39:/version.sh?ds=sidebyside diff --git a/version.sh b/version.sh index 1cbbfbf8..1e204f31 100755 --- a/version.sh +++ b/version.sh @@ -1,2 +1,4 @@ #!/bin/bash -git describe --tags --dirty="+" --match="v*" | sed -e 's@-\([^-]*\)-\([^-]*\)$@+\1.\2@;s@^v@@' +echo -n "$(git describe --tags --dirty="+" --match="v*" | sed -e 's@-\([^-]*\)-\([^-]*\)$@+\1.\2@;s@^v@@')" +grep '#define ForRelease 0' MobileCydia.mm &>/dev/null && echo -n '~srk' +echo