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

ci: Fix annotated tag check (v4.0)

See merge request espressif/esp-idf!11333
This commit is contained in:
Angus Gratton
2020-11-24 06:32:10 +08:00

View File

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