[node] fix bad conditional, actually run tests

This commit is contained in:
Mike Morris
2016-09-20 14:45:59 -04:00
committed by John Firebaugh
parent ea80168b42
commit 8bc8713e70
2 changed files with 7 additions and 8 deletions

View File

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