about summary refs log tree commit diff stats
path: root/gen-version.sh
blob: 4c60f60758428c59aaf3a1f577ac59378261b8ab (plain)
1
2
3
4
v=$(git-describe --abbrev=4 HEAD | sed -e 's/-/./g')
test -z "$v" && exit 1
echo "CGIT_VERSION = $v"
echo "CGIT_VERSION = $v" > VERSION