Merge pull request #323 from voodootikigod/fix-duplicated-binary

Fix duplicated binary
This commit is contained in:
Francis Gulotta 2014-04-08 22:49:33 -04:00
commit c4d321fd99

View file

@ -26,6 +26,9 @@ before_install:
# or if we put [publish binary] in the commit message
- if test "${COMMIT_MESSAGE#*'[publish binary]'}" != "$COMMIT_MESSAGE"; then PUBLISH_BINARY=true; fi;
- platform=$(uname -s | sed "y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/")
# If version is 0.9 do not publish to avoid duplicated binary error, caused by 0.9 and 0.10
# returning same v number in node.js.
- if [[ "$TRAVIS_NODE_VERSION" == '0.9' ]]; then PUBLISH_BINARY=false; fi;
install:
# ensure source install works