X-Git-Url: https://code.delx.au/spectrwm/blobdiff_plain/befcf159170f6dbb92a44afe88ec736450133105..d5362eb9f74aafae8330ae3806f450fdd6ffe17b:/buildver.sh diff --git a/buildver.sh b/buildver.sh index 27dfd89..08c73bf 100644 --- a/buildver.sh +++ b/buildver.sh @@ -3,5 +3,5 @@ CURDIR=$(dirname $0) if [ -d "$CURDIR/.git" ]; then cd "$CURDIR" - git describe --tags | tr -d '\n' + echo $(git describe --abbrev=0 --tags)-$(git rev-parse HEAD | tail -c 9) fi