From cca0f5fc794b369a58e8e378ed7537bcb769a34b Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Mon, 29 Dec 2014 14:27:21 +0000 Subject: [PATCH] don't allow lightweight tags after all --- bin/release | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/release b/bin/release index 745340e2..df7d4534 100755 --- a/bin/release +++ b/bin/release @@ -10,8 +10,8 @@ RELEASE_DESCRIPTION="Weaving Containers into Applications" setup() { ## Get the new version number from the most recent tag - if ! LATEST_TAG=$(git describe --tags --abbrev=0 --match='v*' 2>/dev/null) ; then - echo "Could not find a 'v*' version tag." >&2 + if ! LATEST_TAG=$(git describe --abbrev=0 --match='v*' 2>/dev/null) ; then + echo "Could not find an annotated 'v*' version tag." >&2 exit 1 fi LATEST_TAG_SHA=$(git rev-parse $LATEST_TAG)