mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-26 02:47:17 +00:00
Merge pull request #323 from voodootikigod/fix-duplicated-binary
Fix duplicated binary
This commit is contained in:
commit
c4d321fd99
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue