diff options
Diffstat (limited to 'platform/node/scripts/after_script.sh')
-rwxr-xr-x | platform/node/scripts/after_script.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/node/scripts/after_script.sh b/platform/node/scripts/after_script.sh index af2cd78dd6..8cbfa4d8ff 100755 --- a/platform/node/scripts/after_script.sh +++ b/platform/node/scripts/after_script.sh @@ -10,10 +10,9 @@ else otool -L ./lib/mapbox-gl-native.node fi -COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n') PACKAGE_JSON_VERSION=$(node -e "console.log(require('./package.json').version)") -if [[ ${TRAVIS_TAG} == node-v${PACKAGE_JSON_VERSION} ]] || test "${COMMIT_MESSAGE#*'[publish binary]'}" != "$COMMIT_MESSAGE"; then +if [[ ${TRAVIS_TAG} == node-v${PACKAGE_JSON_VERSION} ]]; then source ~/.nvm/nvm.sh nvm use $NODE_VERSION |