From f6b55e1a2a856f00edb32addaa7146a79303dc92 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Mon, 31 Dec 2018 22:20:28 +1300 Subject: [PATCH] Fix the logic to support version 1.0.0! --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 195d2ca..6367bf8 100755 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ build=dpkg-buildpackage -rfakeroot -i'(.git|build|.gitignore|testing)*' -I.git - ifeq ($(version),) version=$(shell git tag -l | grep '^[0-9]' | sort -t"." -k 1,1 -k 2,2 -k 3,3 -n | tail -1) endif -deb_version=$(shell git tag -l | grep ^debian-$(release)-[[:digit:]] | sort -t"." -k 1,1 -k 2,2 -k 3,3 -n | tail -1 | sed 's/debian-$(release)-//' | sed 's/@/~/') +deb_version=$(shell git tag -l | grep ^debian-$(release)-[[:digit:]] | sed 's/debian-$(release)-//' | sort -t"." -k 1,1 -k 2,2 -k 3,3 -n | tail -1 | sed 's/@/~/') deb=$(package)_$(deb_version)_all.deb orig_tarball=../$(package)_$(version).orig.tar.gz -- 2.30.2