Browse Source

fix: semver_git_tag quick exiting

master
pvincent 2 years ago
parent
commit
d9ecf63326
  1. 3
      tools/semver_git_tag

3
tools/semver_git_tag

@ -33,8 +33,6 @@ function setCommand() {
############# main
set -euo pipefail # EXITS when any error occurs
# check git covered
REPOSITORY=$(git config --get remote.origin.url)
if [[ "$?" -ne 0 ]]; then
@ -112,7 +110,6 @@ case $COMMAND in
"minor")
let "MINOR++"
let "PATCH=0"
echo A
;;
"patch")
let "PATCH++"

Loading…
Cancel
Save