mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
Merge branch 'bugfix/ci_bound_some_vars' into 'master'
Fix the unbound variables in scripts See merge request !962
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user