Merge branch 'ci/fix_dash_shell_with_comment' into 'master'

ci: fix regex in if statement for dash compatibility

See merge request espressif/esp-idf!19258
This commit is contained in:
Mahavir Jain 2022-07-27 15:47:45 +08:00
commit ab724cf7dd

View File

@ -143,8 +143,7 @@ cache:
fi
.set_include_nightly_run: &set_include_nightly_run |
# in bash regex, (?:..) -> (..)
if [[ "$CI_MERGE_REQUEST_LABELS" =~ ^([^,\n\r]+,)*include_nightly_run(,[^,\n\r]+)*$ ]]; then
if echo "$CI_MERGE_REQUEST_LABELS" | egrep "^([^,\n\r]+,)*include_nightly_run(,[^,\n\r]+)*$"; then
export INCLUDE_NIGHTLY_RUN="1"
fi