Skip to content

Commit 478ac35

Browse files
committed
build: add console log with Node.js process.versions to help with debugging
1 parent 7c9cd91 commit 478ac35

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

scripts/ci/build.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,21 @@ curr_dirname=$(dirname "$0")
1010

1111
. $curr_dirname/utils/gsort.sh
1212

13-
FORCE_REBUILD=false
13+
FORCE_REBUILD_DEFAULT=false
1414
# if [[ ! -z "$GIT_TAG" ]]; then
15-
# FORCE_REBUILD=true
15+
# FORCE_REBUILD_DEFAULT=true
1616
# fi
1717

18-
export FORCE_REBUILD=$FORCE_REBUILD
18+
export FORCE_REBUILD=${FORCE_REBUILD:-$FORCE_REBUILD_DEFAULT}
1919

2020
MACOS_UNIVERSAL_BUILD=${MACOS_UNIVERSAL_BUILD:-}
2121

2222
echo "Checking python version"
2323
python -V || true
2424
echo "Checking python3 version"
2525
python3 -V || true
26+
echo "Checking nodejs version"
27+
node -e "console.log(process.versions)"
2628

2729
if [ "$(uname)" == "Darwin" ]; then
2830
# Default to universal build, if possible.

0 commit comments

Comments
 (0)