Skip to content

Commit

Permalink
tools: fix V8 update workflow
Browse files Browse the repository at this point in the history
PR-URL: #52822
Fixes: #50497
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
aduh95 authored and targos committed May 8, 2024
1 parent 1448959 commit 317998a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/dep_updaters/update-v8-patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ BASE_DIR=$(cd "$(dirname "$0")/../.." && pwd)

cd "$BASE_DIR"

IS_UP_TO_DATE=$(git node v8 minor | grep "V8 is up-to-date")
CAN_UPDATE=$(git node v8 minor | grep -q "V8 is up-to-date" || echo "1")

if [ -n "$IS_UP_TO_DATE" ]; then
if [ -z "$CAN_UPDATE" ]; then
echo "Skipped because V8 is on the latest version."
exit 0
fi
Expand Down

0 comments on commit 317998a

Please sign in to comment.