From 2a6b7794ab478fe92cb4437d376dd5048937b401 Mon Sep 17 00:00:00 2001 From: Anton Maklakov Date: Thu, 6 Jul 2017 18:52:08 +0800 Subject: [PATCH] CI: Fix the unbound variables in scripts --- tools/ci/configure_ci_environment.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/ci/configure_ci_environment.sh b/tools/ci/configure_ci_environment.sh index 8ddb64309..77d094076 100644 --- a/tools/ci/configure_ci_environment.sh +++ b/tools/ci/configure_ci_environment.sh @@ -19,8 +19,10 @@ set -o errexit # Exit if command failed. # REF=$CI_COMMIT_REF_NAME if [[ $REF = "master" || $REF =~ ^release/v || $REF =~ ^v[0-9]+\.[0-9]+(\.[0-9]+)?(-|$) ]]; then + export IS_PRIVATE= export IS_PUBLIC=1 else export IS_PRIVATE=1 + export IS_PUBLIC= fi unset REF