Skip to content

Commit

Permalink
tools: fix V8 update workflow
Browse files Browse the repository at this point in the history
PR-URL: nodejs#52822
Fixes: nodejs#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 May 5, 2024
1 parent 54f1e0a commit 38ef4e5
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 38ef4e5

Please sign in to comment.