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

Loading…
Cancel
Save