@ -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