summaryrefslogtreecommitdiff
path: root/version.sh
blob: 1e204f31389e4fbae9e71cffd5130c5dc2696097 (plain)
1
2
3
4
#!/bin/bash
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