Skip to content

Commit

Permalink
Merge branch 'main' into chore/update-docs-1
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 authored Oct 31, 2022
2 parents a5be4dd + f94d252 commit 65b4f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diff-sha.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ if [[ -z $GITHUB_BASE_REF ]]; then
fi

if [[ -z "$PREVIOUS_SHA" || "$PREVIOUS_SHA" == "0000000000000000000000000000000000000000" ]]; then
PREVIOUS_SHA=$CURRENT_SHA
PREVIOUS_SHA=$(git rev-parse "$(git branch -r --sort=-committerdate | head -1 | xargs)")
fi

if [[ "$PREVIOUS_SHA" == "$CURRENT_SHA" ]]; then
Expand Down

0 comments on commit 65b4f04

Please sign in to comment.