From eebd879217be0c9b1aac1006b6a71a9a5f24349a Mon Sep 17 00:00:00 2001 From: pvincent Date: Fri, 9 Sep 2022 23:01:23 +0400 Subject: [PATCH] minor2 --- tools/semver_git_tag | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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!"