From: Anton Maklakov Date: Thu, 6 Jul 2017 10:52:08 +0000 (+0800) Subject: CI: Fix the unbound variables in scripts X-Git-Tag: v3.1-dev~484^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a6b7794ab478fe92cb4437d376dd5048937b401;p=esp-idf CI: Fix the unbound variables in scripts --- diff --git a/tools/ci/configure_ci_environment.sh b/tools/ci/configure_ci_environment.sh index 8ddb643095..77d094076a 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