[node] Specify build type (#8406)

This commit is contained in:
Bobby Sudekum
2017-03-14 16:19:47 -07:00
committed by GitHub
parent b938afa8fa
commit fb2674e44d
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ set -e
set -o pipefail
if [[ -n ${PUBLISH:-} ]]; then
if [[ "${BUILDTYPE}" == "Debug" ]]; then
if [[ "${BUILDTYPE}" != "Release" ]]; then
echo "Please run this script in release mode (BUILDTYPE=Release)."
exit 1
else