From 2e6d65c9d24ded643c21251a4a8450a9ac96f57a Mon Sep 17 00:00:00 2001
From: Martin Weise <martin.weise@tuwien.ac.at>
Date: Wed, 5 Feb 2025 21:31:39 +0100
Subject: [PATCH] Only

Signed-off-by: Martin Weise <martin.weise@tuwien.ac.at>
---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9484ac0ebd..aa575210d8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -129,9 +129,9 @@ lint-open-api-version:
     - 'apk --no-cache add bash wget'
     - 'wget https://github.com/mikefarah/yq/releases/download/v${VERSION}/${BINARY} -O /usr/bin/yq && chmod +x /usr/bin/yq'
   script:
-    - yq '.externalDocs.url' ./.docs/.openapi/api.base.yaml | grep "${DOC_VERSION}" > ./openapi-doc-version.txt
+    - yq '.externalDocs.url' ./.docs/.openapi/api.base.yaml | grep -o "${DOC_VERSION}" > ./openapi-doc-version.txt
     - diff ./openapi-doc-version.txt ./doc-version.txt
-    - yq '.info.version' ./.docs/.openapi/api.base.yaml | grep "${APP_VERSION}" > ./openapi-app-version.txt
+    - yq '.info.version' ./.docs/.openapi/api.base.yaml | grep -o "${APP_VERSION}" > ./openapi-app-version.txt
     - diff ./openapi-app-version.txt ./app-version.txt
 
 build-metadata-service:
-- 
GitLab