mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
6 lines
147 B
Plaintext
6 lines
147 B
Plaintext
|
#!/bin/sh
|
||
|
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-//'
|