From dc104b5c83b2820110d3429d53d2b44dcc97b622 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 4 Nov 2022 14:25:33 -0600 Subject: [PATCH] Update diff-sha.sh --- diff-sha.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/diff-sha.sh b/diff-sha.sh index 0ba52db7..5ff4e13c 100644 --- a/diff-sha.sh +++ b/diff-sha.sh @@ -41,7 +41,6 @@ fi if [[ -z $GITHUB_BASE_REF ]]; then echo "Running on a push event..." TARGET_BRANCH=${GITHUB_REF/refs\/heads\//} && exit_status=$? || exit_status=$? - TARGET_BRANCH=${TARGET_BRANCH/refs\/tags\//} && exit_status=$? || exit_status=$? CURRENT_BRANCH=$TARGET_BRANCH && exit_status=$? || exit_status=$? echo "::debug::Getting HEAD SHA..."