diff options
| author | Mike Morris <mikemorris@users.noreply.github.com> | 2016-09-20 14:45:59 -0400 |
|---|---|---|
| committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-09-23 12:52:59 -0700 |
| commit | 8bc8713e70e52ee8a8653b50ad8cf4be40beb9a1 (patch) | |
| tree | c2d822e5c749d6b9a102ddacd0f29fdea16acf15 /platform/node | |
| parent | ea80168b42b2280972e323f836d4ef5c3cdfd9fe (diff) | |
| download | qtlocation-mapboxgl-8bc8713e70e52ee8a8653b50ad8cf4be40beb9a1.tar.gz | |
[node] fix bad conditional, actually run tests
Diffstat (limited to 'platform/node')
| -rwxr-xr-x | platform/node/scripts/after_script.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/platform/node/scripts/after_script.sh b/platform/node/scripts/after_script.sh index 311511726a..c805e453a2 100755 --- a/platform/node/scripts/after_script.sh +++ b/platform/node/scripts/after_script.sh @@ -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 |
