ci: Fix annotated tag check

Regression in 1612f84
This commit is contained in:
Angus Gratton
2020-11-23 10:23:24 +11:00
parent a4c72cfa28
commit 9a141cc0ce

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)