don't allow lightweight tags after all

This commit is contained in:
Matthias Radestock committed 2014-12-29 14:27:21 +00:00
1 parent f9593ac571
commit cca0f5fc79
1 file changed
+2 -2
+2 -2
View File
@@ -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)