Skip to content

Commit

Permalink
Fix deploy script, as Travis-CI is using sh instead of bash in deploy...
Browse files Browse the repository at this point in the history
  • Loading branch information
interpretor authored and lgeiger committed Jun 25, 2017
1 parent a7b0466 commit 07f51c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ deploy:
skip_cleanup: true
# Linking to prebuild directly since it doesn't work inside a npm script.
script:
- 'if [[ -z "$ARCH" ]]; then ./node_modules/prebuild/bin.js --all --strip -u ${GH_TOKEN}; else bash ./scripts/cross_compile.sh ${ARCH} ${GH_TOKEN}; fi'
- 'if [ -z "$ARCH" ]; then ./node_modules/prebuild/bin.js --all --strip -u ${GH_TOKEN}; else bash ./scripts/cross_compile.sh ${ARCH} ${GH_TOKEN}; fi'
on:
condition: "$DEPLOY = true"
tags: true
Expand Down

0 comments on commit 07f51c5

Please sign in to comment.