mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
CI: Fix the unbound variables in scripts
This commit is contained in:
parent
927b5685cd
commit
2a6b7794ab
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user