From 50d94529bf28d3a9c25873391849116a9fe3b4d9 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Mon, 29 Dec 2014 13:49:46 +0000 Subject: [PATCH] accept lightweight tags --- bin/release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/release b/bin/release index 749622f7..745340e2 100755 --- a/bin/release +++ b/bin/release @@ -10,7 +10,7 @@ RELEASE_DESCRIPTION="Weaving Containers into Applications" setup() { ## Get the new version number from the most recent tag - if ! LATEST_TAG=$(git describe --abbrev=0 --match='v*' 2>/dev/null) ; then + if ! LATEST_TAG=$(git describe --tags --abbrev=0 --match='v*' 2>/dev/null) ; then echo "Could not find a 'v*' version tag." >&2 exit 1 fi