From cd9879112958f07114584bb1579540dc0408bd0b Mon Sep 17 00:00:00 2001 From: EnumDev Date: Wed, 17 Sep 2025 19:05:39 +0300 Subject: [PATCH] Update package version to 1.6.7 --- 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..05a0530 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Git repository +REPO="git://git.gnupg.org/libksba.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 '^libksba-[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}' | tail -n1) + +# Trim prefix +VERSION=${TAG_NAME//libksba-/} + +echo "$VERSION" diff --git a/pkg.info b/pkg.info index 565f30a..c75c279 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: libksba description: Library to make the tasks of working with X.509 certificates, CMS data and related objects easier -version: 1.6.5 +version: 1.6.7 url: https://www.gnupg.org/related_software/libksba/ license: GPL2-only,GPL3-only,LGPL3-only architecture: any