]> git.saurik.com Git - patcyh.git/blame - version.sh
Initial version of patcyh, carved from uikittools.
[patcyh.git] / version.sh
CommitLineData
ec4c25d4
JF
1#!/bin/bash
2echo -n "$(git describe --tags --dirty="+" --match="v*" | sed -e 's@-\([^-]*\)-\([^-]*\)$@+\1.\2@;s@^v@@')"
3grep '#define ForRelease 0' MobileCydia.mm &>/dev/null && echo -n '~srk'
4echo