From 970cea042ae3062d77924e59dc8722cd693a95fd Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 21 Nov 2025 18:10:49 +0200 Subject: [PATCH] Update source.sh script --- check-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check-version.sh b/check-version.sh index be48657..6fe05f3 100644 --- a/check-version.sh +++ b/check-version.sh @@ -7,7 +7,7 @@ REPO="GNOME/gtk" REPO=$(echo "$REPO" | sed 's|/|%2F|g') # Get tag name using Gitlab Rest API -TAG_NAME=$(curl -s -L https://gitlab.gnome.org/api/v4/projects/"$REPO"/repository/tags | jq -r '.[].name' | grep -E '3.*' | head -n1) +TAG_NAME=$(curl -s -L https://gitlab.gnome.org/api/v4/projects/"$REPO"/repository/tags | jq -r '.[].name' | grep -E '^3.*' | head -n1) # Trim '-gitlab' suffix TAG_NAME=$(echo "$TAG_NAME" | sed 's/-gitlab//g')