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 <targos@protonmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
aduh95 authored and bmeck committed Jun 22, 2024
1 parent b12bab0 commit b8f04fe
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 b8f04fe

Please sign in to comment.