summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xversion.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/version.sh b/version.sh
index 3d2ce58..59d63cc 100755
--- a/version.sh
+++ b/version.sh
@@ -6,7 +6,7 @@ else
flags=("$@")
fi
-version=$(git describe --tags --match="v*" "${flags[@]}" | sed -e 's@-\([^-]*\)-\([^-]*\)$@+\1.\2@;s@^v@@')
+version=$(git describe --tags --match="v*" "${flags[@]}" | sed -e 's@-\([^-]*\)-\([^-]*\)$@+\1.\2@;s@^v@@;s@%@~@g')
if grep '#define ForRelease 0' MobileCydia.mm &>/dev/null; then
version=${version}~srk