Sign in
gerrit
/
gerrit
/
e6fc72f381c46130bfac133c76622ff740641977
/
.
/
Documentation
/
GEN-DOC-VERSION
blob: 0d6e8150057a69bba2d387d3208e7e33f85fbbc2 [
file
] [
log
] [
blame
]
#!/bin/sh
V
=
$
(
git describe HEAD
)
case
"$V"
in
''
)
echo
>&
2
"fatal: no annotated tags, cannot determine version"
exit
1
;;
*-
g
*)
echo
>&
2
"fatal: snapshot $V, cannot determine version"
exit
1
;;
v
*)
echo $
{
V
#v}
;;
esac