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

ci: Fix annotated tag check (v4.2)

See merge request espressif/esp-idf!11331
This commit is contained in:
Angus Gratton 2020-11-23 17:30:21 +08:00
commit f3ff3b3073

View File

@ -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)