From 0f4c3220c3733f18ac03aa9b697708374ff4323b Mon Sep 17 00:00:00 2001 From: Ivan Shumkov Date: Fri, 6 Sep 2024 13:52:38 +0300 Subject: [PATCH] chore: add exit options --- scripts/change_base_branch.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/change_base_branch.sh b/scripts/change_base_branch.sh index eeab46b1f86..3e8dfaf916c 100755 --- a/scripts/change_base_branch.sh +++ b/scripts/change_base_branch.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -e -o pipefail + # Function to display help show_help() { echo "Usage: $0 OLD_BASE NEW_BASE"