From 074d422d36791b736c3a125aa7f3995e8d15b876 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Tue, 16 Sep 2025 16:30:42 +0300 Subject: [PATCH] Update package version to 1.3.2 --- check-version.sh | 12 ++++++++++++ pkg.info | 2 +- 2 files changed, 13 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..e4e9f94 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Git repository +REPO="git://git.gnupg.org/pinentry.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 '^pinentry-[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}' | tail -n1) + +# Trim prefix +VERSION=${TAG_NAME//pinentry-/} + +echo "$VERSION" diff --git a/pkg.info b/pkg.info index 7bc752e..9352b4f 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: pinentry description: Collection of dialog programs that allow GnuPG to read passphrases and PIN numbers in a secure manner -version: 1.3.1 +version: 1.3.2 url: https://gnupg.org/related_software/pinentry/ license: GPL architecture: any