mirror of
https://github.com/tj-actions/changed-files
synced 2025-02-07 05:33:52 +00:00
Update diff-sha.sh
This commit is contained in:
parent
394fc25d46
commit
10aaa531b8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue