Skip to content

Commit 317998a

Browse files
aduh95targos
authored andcommitted
tools: fix V8 update workflow
PR-URL: #52822 Fixes: #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>
1 parent 1448959 commit 317998a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/dep_updaters/update-v8-patch.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ BASE_DIR=$(cd "$(dirname "$0")/../.." && pwd)
99

1010
cd "$BASE_DIR"
1111

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

14-
if [ -n "$IS_UP_TO_DATE" ]; then
14+
if [ -z "$CAN_UPDATE" ]; then
1515
echo "Skipped because V8 is on the latest version."
1616
exit 0
1717
fi

0 commit comments

Comments
 (0)