From 2789efbf6279c6926d4b7424c82dfd5c5c500b11 Mon Sep 17 00:00:00 2001 From: pvincent Date: Sun, 19 Dec 2021 11:50:37 +0400 Subject: [PATCH] stdin debug --- tools/semver_git_tag | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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