From ff53a2d78e9f9f427960cbe69f457e613da537c2 Mon Sep 17 00:00:00 2001 From: Pasquale Congiusti Date: Sat, 19 Oct 2024 10:21:53 +0200 Subject: [PATCH] fix(ci): nightly update action --- scripts/sync_cq.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/sync_cq.sh b/scripts/sync_cq.sh index 4fe0b8934..97440f698 100755 --- a/scripts/sync_cq.sh +++ b/scripts/sync_cq.sh @@ -37,6 +37,10 @@ main() { git clone https://github.com/apache/camel-quarkus.git pushd camel-quarkus CQ_VERSION=$(git tag | grep $VERSION_MM | sort | tail -n 1) + if [ "$CQ_VERSION" == "" ] ; then + echo "INFO: there is no new $VERSION_MM released yet, bye!" + exit 0 + fi if [ "$SKIP_VERSION_CHECK" == "false" ] && [ "$CQ_VERSION" == "$VERSION_FULL" ]; then echo "INFO: there is no new version released, bye!" exit 0