From: Stefan Bund Date: Tue, 10 Nov 2009 10:59:31 +0000 (+0100) Subject: BUGFIX: Fix unreleased version number in changelog X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=a17a3f677d43f009af97fe47075c24049fdbe88e;p=mapsector.git BUGFIX: Fix unreleased version number in changelog --- diff --git a/Makefile b/Makefile index eee1a41..99f283b 100644 --- a/Makefile +++ b/Makefile @@ -47,9 +47,9 @@ $(CHANGELOGS): %: case "$$version" in \ HEAD) version="`git describe --tag --match='v*' | sed -e 's/-/~/' -e 's/-/./g'`"; \ release="UNRELEASED" ;; \ - v*) version="$${version#v}"; \ - release="unstable" ;; \ + v*) release="unstable" ;; \ esac; \ + version="$${version#v}"; \ echo "$(NAME) ($$version) $$release; urgency=low"; \ echo; \ git log --pretty=oneline --abbrev-commit $$from$${from:+..}$$to \