diff --git a/platform/node/scripts/after_success.sh b/platform/node/scripts/after_success.sh index d761d4110..18e00a4f0 100755 --- a/platform/node/scripts/after_success.sh +++ b/platform/node/scripts/after_success.sh @@ -3,7 +3,7 @@ set -e set -o pipefail -if [[ -n ${PUBLISH:-} ]]; then +if [[ "${PUBLISH:-}" == true ]]; then if [[ "${BUILDTYPE}" == "RelWithDebInfo" ]]; then ./node_modules/.bin/node-pre-gyp package publish info elif [[ "${BUILDTYPE}" == "Debug" ]]; then