diff --git a/tools/ci/config/check.yml b/tools/ci/config/check.yml index 8d6cc25854..945dc4b361 100644 --- a/tools/ci/config/check.yml +++ b/tools/ci/config/check.yml @@ -136,5 +136,5 @@ check_version_tag: variables: - $BOT_TRIGGER_WITH_LABEL == null script: - - (git cat-file -t $CI_COMMIT_REF_NAME | grep tag) || echo "ESP-IDF versions must be annotated tags." && exit 1 + - (git cat-file -t $CI_COMMIT_REF_NAME | grep tag) || (echo "ESP-IDF versions must be annotated tags." && exit 1)