From 57f77dab5977da4b94c15536c0eee5849c27022e Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Mon, 18 Mar 2019 20:36:58 +0100 Subject: [PATCH] Fix default build test expression --- utils/publish/production.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/publish/production.sh b/utils/publish/production.sh index 8c3e6fb..6447f51 100755 --- a/utils/publish/production.sh +++ b/utils/publish/production.sh @@ -24,10 +24,10 @@ fi # If no build indication was given, assume BUILD_LATEST. # Most likely, this will only cover builds triggered from tag pushes. -if [ -z $BUILD_LATEST -o \ - -z $BUILD_MAJOR -o \ - -z $BUILD_MINOR -o \ - -z $BUILD_REVISION ]; then +if [ -z $BUILD_LATEST ] || \ + [ -z $BUILD_MAJOR ] || \ + [ -z $BUILD_MINOR ] || \ + [ -z $BUILD_REVISION ]; then BUILD_LATEST=true fi