forked from espressif/esp-idf
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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user