From 0001ad183b9f383f115b68bf76e62c3c9ce50954 Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Thu, 5 Nov 2015 12:40:58 -0500 Subject: [node] autopublish node-pre-gyp binary If $TRAVIS_TAG begins with node-v*. --- scripts/node/after_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1