]> git.saurik.com Git - afc2d.git/commitdiff
Use --dirty="+" to support marking dirty versions.
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 24 Oct 2014 09:37:14 +0000 (02:37 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 24 Oct 2014 09:37:14 +0000 (02:37 -0700)
make.sh

diff --git a/make.sh b/make.sh
index 56519ef8a147365b635c38da7941708f00034be1..29972fc8c2bc38d6f8840fa5740bcfb00d4c990d 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 set -e
-ver=$(git describe --tags --match="v*" "${flags[@]}" | sed -e 's@-\([^-]*\)-\([^-]*\)$@+\1.\2@;s@^v@@;s@%@~@g')
+ver=$(git describe --tags --dirty="+" --match="v*" "${flags[@]}" | sed -e 's@-\([^-]*\)-\([^-]*\)$@+\1.\2@;s@^v@@;s@%@~@g')
 sudo rm -rf _
 mkdir -p _/DEBIAN
 cycc -i2.0 -o_/DEBIAN/extrainst_ -- extrainst.mm -lz -framework Foundation