From 54c797d1a82ee79481e423644c0f051e808888a8 Mon Sep 17 00:00:00 2001 From: tanshu Date: Sun, 3 Apr 2022 07:27:12 +0530 Subject: [PATCH] Set strict mode on the scripts --- deploy.sh | 2 +- version_bump.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 8e03e9c..c3c82dc 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -set -e +set -euo pipefail parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" || exit ; pwd -P ) cd "$parent_path" || exit diff --git a/version_bump.sh b/version_bump.sh index 4dae7d8..d6499d9 100755 --- a/version_bump.sh +++ b/version_bump.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +set -euo pipefail parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" || exit ; pwd -P ) cd "$parent_path" || exit