BUGFIX: Fix unreleased version number in changelog
Stefan Bund [Tue, 10 Nov 2009 10:59:31 +0000 (11:59 +0100)]
Makefile

index eee1a41..99f283b 100644 (file)
--- 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                     \