Browse Source

minor2

master
pvincent 2 years ago
parent
commit
eebd879217
  1. 4
      tools/semver_git_tag

4
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!"

Loading…
Cancel
Save