Always print node version

This commit is contained in:
Patrick Niklaus 2017-04-09 13:28:05 +00:00 committed by Patrick Niklaus
parent c19a3cec1c
commit ee24473cbb

View File

@ -3,6 +3,10 @@
set -eu
set -o pipefail
echo "node version is:"
which node
node -v
if [[ ${PUBLISH} == 'On' ]]; then
echo "PUBLISH is set to '${PUBLISH}', publishing!"
NPM_FLAGS=''
@ -10,10 +14,6 @@ if [[ ${PUBLISH} == 'On' ]]; then
NPM_FLAGS='--debug'
fi
echo "node version is:"
which node
node -v
echo "dumping binary meta..."
./node_modules/.bin/node-pre-gyp reveal $NPM_FLAGS