ci: Fix annotated tag check

Regression in 1612f84
This commit is contained in:
Angus Gratton
2020-11-23 10:23:24 +11:00
parent 511965b269
commit 19bc67e146

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)