]> git.cameronkatri.com Git - cgit.git/blob - gen-version.sh
Add version info from git-describe
[cgit.git] / gen-version.sh
1 v=$(git-describe --abbrev=4 HEAD | sed -e 's/-/./g')
2 test -z "$v" && exit 1
3 echo "CGIT_VERSION = $v"
4 echo "CGIT_VERSION = $v" > VERSION