Fix scripts/version: use git describe --tags ...

After tagging as 1.4 scripts/version was still producing jq-1.3-....
This commit is contained in:
Nicolas Williams committed 2014-06-08 19:31:21 -05:00
1 parent 46436bd870
commit ed2b3e26fb
1 file changed
+1 -1
+1 -1
View File
@@ -2,4 +2,4 @@
set -e
cd `dirname "$0"`
git rev-parse --verify -q jq-1.0 > /dev/null 2>&1
git describe --always --match 'jq-*' --dirty | sed 's/^jq-//'
git describe --tags --match 'jq-*' --dirty | sed 's/^jq-//'