diff options
-rwxr-xr-x | scripts/node/after_script.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/node/after_script.sh b/scripts/node/after_script.sh index c56b7af18d..2dc395efae 100755 --- a/scripts/node/after_script.sh +++ b/scripts/node/after_script.sh @@ -12,7 +12,7 @@ fi COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n') -if test "${COMMIT_MESSAGE#*'[publish binary]'}" != "$COMMIT_MESSAGE"; then +if [[ ${TRAVIS_TAG} == node-v* ]] || test "${COMMIT_MESSAGE#*'[publish binary]'}" != "$COMMIT_MESSAGE"; then source ~/.nvm/nvm.sh nvm use $NODE_VERSION |