mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
ed2b3e26fb
After tagging as 1.4 scripts/version was still producing jq-1.3-....
6 lines
145 B
Bash
Executable File
6 lines
145 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
cd `dirname "$0"`
|
|
git rev-parse --verify -q jq-1.0 > /dev/null 2>&1
|
|
git describe --tags --match 'jq-*' --dirty | sed 's/^jq-//'
|