]> code.delx.au - spectrwm/blob - buildver.sh
adjust copyright dates
[spectrwm] / buildver.sh
1 #!/bin/sh
2
3 CURDIR=$(dirname $0)
4 if [ -d "$CURDIR/.git" ]; then
5 cd "$CURDIR"
6 echo $(git describe --abbrev=0 --tags)-$(git rev-parse HEAD | tail -c 9)
7 fi