Update package version to 2.5.12

This commit is contained in:
2025-09-16 16:35:15 +03:00
parent 72997e8d48
commit 419d745fa9
3 changed files with 18 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Git repository
REPO="git://git.gnupg.org/gnupg.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 -E '^gnupg-[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}' | tail -n1)
# Trim prefix
VERSION=${TAG_NAME//gnupg-/}
echo "$VERSION"