Merge branch 'ci/fix_annotated_tag_check_v4.1' into 'release/v4.1'

ci: Fix annotated tag check (v4.1)

See merge request espressif/esp-idf!11332
This commit is contained in:
Angus Gratton
2020-11-23 17:34:41 +08:00

View File

@ -166,5 +166,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)