mirror of https://git.zx2c4.com/cgit/
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
136 B
Bash
5 lines
136 B
Bash
17 years ago
|
v=$(git-describe --abbrev=4 HEAD | sed -e 's/-/./g')
|
||
|
test -z "$v" && exit 1
|
||
|
echo "CGIT_VERSION = $v"
|
||
|
echo "CGIT_VERSION = $v" > VERSION
|