diff --git a/tools/semver_git_tag b/tools/semver_git_tag index f2dc2dc..ae24ced 100755 --- a/tools/semver_git_tag +++ b/tools/semver_git_tag @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -x function usage() { echo 'usage: --major | -M | --minor | -m | --patch | -p' @@ -119,7 +119,7 @@ esac TAG="$MAJOR.$MINOR.$PATCH" echo "new TAG $TAG" -exit 1 + # check if tag exists already! if [[ -n $(git tag -l $TAG) ]]; then echo "WARNING: ${TAG} already exists!"