mirror of
https://github.com/gophernicus/gophernicus.git
synced 2025-01-03 14:56:43 -05:00
15 lines
176 B
Bash
Executable File
15 lines
176 B
Bash
Executable File
#!/bin/sh
|
|
|
|
##
|
|
## Generate Gophernicus version/build number
|
|
##
|
|
|
|
DEFAULT="PE"
|
|
|
|
if which git >/dev/null && test -d .git; then
|
|
git log | grep -c "^commit"
|
|
else
|
|
echo $DEFAULT
|
|
fi
|
|
|