mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
tools: fix V8 update workflow
PR-URL: https://github.com/nodejs/node/pull/52822 Fixes: https://github.com/nodejs/node/issues/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>
This commit is contained in:
parent
54f1e0a488
commit
38ef4e5c59
@ -9,9 +9,9 @@ BASE_DIR=$(cd "$(dirname "$0")/../.." && pwd)
|
|||||||
|
|
||||||
cd "$BASE_DIR"
|
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."
|
echo "Skipped because V8 is on the latest version."
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user