From ed2b3e26fbb43436fc37d7e6b882fcc926b20e6d Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Sun, 8 Jun 2014 19:31:21 -0500 Subject: [PATCH] Fix scripts/version: use git describe --tags ... After tagging as 1.4 scripts/version was still producing jq-1.3-.... --- scripts/version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/version b/scripts/version index fb941a0..d1f0c29 100755 --- a/scripts/version +++ b/scripts/version @@ -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-//' -- 2.40.0