From 6650a76dc548226836412ca4ca1b579b22fb151a Mon Sep 17 00:00:00 2001 From: EnumDev Date: Tue, 9 Sep 2025 14:29:06 +0300 Subject: [PATCH] Update check-version.sh script --- check-version.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/check-version.sh b/check-version.sh index c99b2b8..1ded01f 100644 --- a/check-version.sh +++ b/check-version.sh @@ -7,9 +7,6 @@ REPO="cairo/cairomm" REPO=$(echo "$REPO" | sed 's|/|%2F|g') # Get tag name using Gitlab Rest API -TAG_NAME=$(curl -s -L https://gitlab.freedesktop.org/api/v4/projects/"$REPO"/repository/tags | jq -r '.[0].name') +TAG_NAME=$(curl -s -L https://gitlab.freedesktop.org/api/v4/projects/"$REPO"/repository/tags | jq -r '.[].name' | grep -v '^1.14' | head -n1) -# Get version number from tag name -VERSION=$(echo "$TAG_NAME" | rev | cut -d'-' -f1 | rev) - -echo "$VERSION" +echo "$TAG_NAME"