From 7200eb963bb52affce7563f2bdfc5a274adb0946 Mon Sep 17 00:00:00 2001 From: Philip Couling Date: Thu, 12 Apr 2018 16:15:00 +0000 Subject: [PATCH] Fixed bug which stopped git tags for version >9 being found --- package-project | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-project b/package-project index d2146f2..5657225 100755 --- a/package-project +++ b/package-project @@ -146,7 +146,7 @@ function create_dir { function create_control { grep -v 'Installed-Size:' "$source_folder/$source_file" > "$package_folder/DEBIAN/control" - version=`( cd "$source_folder" && git describe --tags --match v[0-9].[0-9]* ) || true` + version=`( cd "$source_folder" && git describe --tags --match v[0-9]*.[0-9]* ) || true` if [ -n "$version" ] then temp_file=`mktemp "$package_folder/DEBIAN/control_XXX"`