diff --git a/tools/semver_git_tag b/tools/semver_git_tag index 7cea372..a78319e 100755 --- a/tools/semver_git_tag +++ b/tools/semver_git_tag @@ -1,6 +1,5 @@ #!/bin/bash -set -euo pipefail function usage() { echo 'usage: --major | -M | --minor | -m | --patch | -p' @@ -142,7 +141,7 @@ if [[ -f "${GIT_ROOT_FOLDER}/package.json" ]]; then fi -set -e # EXITS when any error occurs +set -euo pipefail # EXITS when any error occurs echo $TAG >${GIT_ROOT_FOLDER}/.semver_git_tag git add ${GIT_ROOT_FOLDER}/.semver_git_tag