From 4ff488ae3c016d046d4ebf438dead24886aff09d Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 21 Nov 2025 21:50:12 +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 ee6c72f..8a4c726 100644 --- a/check-version.sh +++ b/check-version.sh @@ -7,7 +7,7 @@ REPO="libvirt/libvirt" REPO=$(echo "$REPO" | sed 's|/|%2F|g') # Get tag name using Gitlab Rest API -TAG_NAME=$(curl -s -L https://gitlab.com/api/v4/projects/"$REPO"/repository/tags | jq -r '.[].name' | grep -v 'rc' | head -n1) +TAG_NAME=$(curl -s -L https://gitlab.com/api/v4/projects/"$REPO"/repository/tags | jq -r '.[].name' | grep '^v' | grep -v 'rc' | head -n1) # Trim 'v' character in TAG_NAME variable VERSION=$(echo "$TAG_NAME" | tr -d 'v')