Update diff-sha.sh
This commit is contained in:
parent
394fc25d46
commit
10aaa531b8
@ -255,7 +255,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "$INPUT_BASE_SHA" ]]; then
|
if [[ -z "$INPUT_BASE_SHA" ]]; then
|
||||||
NEW_PREVIOUS_SHA=$(git merge-base --fork-point "$TARGET_BRANCH" "$CURRENT_SHA")
|
NEW_PREVIOUS_SHA=$(git merge-base --fork-point "$TARGET_BRANCH" "$CURRENT_SHA") && exit_status=$? || exit_status=$?
|
||||||
|
|
||||||
if [[ -n "$NEW_PREVIOUS_SHA" ]]; then
|
if [[ -n "$NEW_PREVIOUS_SHA" ]]; then
|
||||||
PREVIOUS_SHA=$NEW_PREVIOUS_SHA
|
PREVIOUS_SHA=$NEW_PREVIOUS_SHA
|
||||||
|
Loading…
x
Reference in New Issue
Block a user