From 19bc67e1465b381e0606403da1c6b3f0ee5b71b4 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Mon, 23 Nov 2020 10:23:24 +1100 Subject: [PATCH] ci: Fix annotated tag check Regression in 1612f84 --- tools/ci/config/pre_check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci/config/pre_check.yml b/tools/ci/config/pre_check.yml index 7e88bc5f64..c127b5029d 100644 --- a/tools/ci/config/pre_check.yml +++ b/tools/ci/config/pre_check.yml @@ -200,5 +200,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)