diff options
author | Mike Morris <michael.patrick.morris@gmail.com> | 2015-11-05 12:40:58 -0500 |
---|---|---|
committer | Mike Morris <michael.patrick.morris@gmail.com> | 2015-11-05 13:04:34 -0500 |
commit | 0001ad183b9f383f115b68bf76e62c3c9ce50954 (patch) | |
tree | 125e348e68dfca145e7b5c1a0e5466b7ff222fcd | |
parent | 5e58070decb7ee5e1538a120e6b8261a0574d334 (diff) | |
download | qtlocation-mapboxgl-0001ad183b9f383f115b68bf76e62c3c9ce50954.tar.gz |
[node] autopublish node-pre-gyp binarynode-v2.0.0-autopublish.1
If $TRAVIS_TAG begins with node-v*.
-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 |