From 1290286a4d2322508649f7ba2bc0982db56b073c Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 8 Nov 2025 13:57:03 +0200 Subject: [PATCH] Update check-version.sh script --- check-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check-version.sh b/check-version.sh index 13b131d..194e229 100644 --- a/check-version.sh +++ b/check-version.sh @@ -7,6 +7,6 @@ REPO="libinput/libinput" 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"/releases | jq -r '.[].tag_name' | grep -vE '9[0-9]{1,}$') +TAG_NAME=$(curl -s -L https://gitlab.freedesktop.org/api/v4/projects/"$REPO"/releases | jq -r '.[].tag_name' | grep -vE '9[0-9]{1,}$' | head -n1) echo "$TAG_NAME"