[build] Fix node package publish logic

This commit is contained in:
Bruno de Oliveira Abinader
2017-07-14 19:53:32 +03:00
parent 00dbd033a2
commit fef873f68f

View File

@@ -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