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:
1 parent
46436bd870
commit
ed2b3e26fb
1 file changed
+1
-1
+1
-1
@@ -2,4 +2,4 @@
|
|||||||
set -e
|
set -e
|
||||||
cd `dirname "$0"`
|
cd `dirname "$0"`
|
||||||
git rev-parse --verify -q jq-1.0 > /dev/null 2>&1
|
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-//'
|
||||||
Reference in new issue
Block a user