From 6a8440e36bda30dd7ec7edf4ea034b4d26b9bfa9 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 21 Sep 2025 17:28:45 +0300 Subject: [PATCH] Update package version to 3.25.1 --- check-version.sh | 15 +++++++++++++++ pkg.info | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 check-version.sh diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..54a34ba --- /dev/null +++ b/check-version.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# Git repository +REPO="https://sourceware.org/git/valgrind.git" + +# Get tag name using 'git ls-remote' +TAG_NAME=$(git ls-remote --exit-code --refs --tags --sort='v:refname' "$REPO" | cut -d'/' -f3 | grep '^VALGRIND' | tail -n1) + +# Trim prefix +VERSION=${TAG_NAME//VALGRIND_/} + +# Replace '_' with '.' +VERSION=${VERSION//_/.} + +echo "$VERSION" diff --git a/pkg.info b/pkg.info index 71c51ef..285f4e7 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: valgrind description: Instrumentation framework for building dynamic analysis tools -version: 3.22.0 +version: 3.25.1 url: https://valgrind.org/ license: GPL2-or-later architecture: any