From b696a747f6d4362e1f43e7ea347d42027590eea1 Mon Sep 17 00:00:00 2001 From: Francois Marier Date: Tue, 22 Jul 2008 14:40:17 +1200 Subject: [PATCH] Fix the version number extraction script to handle non-numeric tags as well --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4feb77b..c7907a0 100755 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ releases=etch sid sponsor_keyid=19D03486 build=dpkg-buildpackage -sn -uc -us -rfakeroot -i'(.git|build|.gitignore|testing)*' -I.git -Ibuild -I.gitignore -Itesting -version=$(shell git-tag -l | grep -v ^debian | tail -1) +version=$(shell git-tag -l | grep '^[0-9]' | tail -1) deb_version=$(shell git-tag -l | grep ^debian-[[:digit:]] | tail -1 | sed 's/debian-//') deb=$(package)_$(deb_version)_all.deb -- 2.30.2