1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/bash set -e set -o pipefail if [[ -n ${PUBLISH:-} ]]; then if [[ "${BUILDTYPE}" == "Release" ]]; then ./node_modules/.bin/node-pre-gyp package publish info else ./node_modules/.bin/node-pre-gyp package publish info --debug fi fi