From: Francois Marier Date: Tue, 22 Jul 2008 02:40:17 +0000 (+1200) Subject: Fix the version number extraction script to handle non-numeric tags as well X-Git-Tag: debian-etch-0.9.0-1^2 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b696a747f6d4362e1f43e7ea347d42027590eea1;p=mythtv-status.git Fix the version number extraction script to handle non-numeric tags as well --- 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