diff --git a/Makefile b/Makefile index 8d17baa..2170699 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ NAME = gophernicus PACKAGE = $(NAME) BINARY = in.$(NAME) VERSION = `./version` -CODENAME = Outta Prison +CODENAME = Prison Edition AUTHOR = Kim Holviala EMAIL = kimholviala@fastmail.com STARTED = 2009 diff --git a/version b/version index 3b6f405..aaabdeb 100755 --- a/version +++ b/version @@ -4,13 +4,11 @@ ## Generate Gophernicus version/build number ## -MAJOR=2 -MINOR=99 +DEFAULT=99 if which git >/dev/null && test -d .git; then - printf "${MAJOR}." git log | grep -c "^commit" else - echo ${MAJOR}.${MINOR} + echo $DEFAULT fi