1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2024-09-01 04:14:15 -04:00
gophernicus/version

15 lines
178 B
Plaintext
Raw Normal View History

#!/bin/sh
##
## Generate Gophernicus version/build number
##
2019-03-14 16:21:01 -04:00
DEFAULT="120+"
if which git >/dev/null && test -d .git; then
git log | grep -c "^commit"
else
echo $DEFAULT
fi