mirror of
https://gitea.quitesimple.org/crtxcr/cgitsb
synced 2024-11-23 21:02:07 +01:00
5 lines
136 B
Bash
5 lines
136 B
Bash
|
v=$(git-describe --abbrev=4 HEAD | sed -e 's/-/./g')
|
||
|
test -z "$v" && exit 1
|
||
|
echo "CGIT_VERSION = $v"
|
||
|
echo "CGIT_VERSION = $v" > VERSION
|