From dcb0db5ed2389280464db7c8f2e4e91945a26743 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 7 Sep 2025 19:47:18 +0300 Subject: [PATCH] Raise revision number --- check-version.sh | 9 +++++++++ pkg.info | 2 +- 2 files changed, 10 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..05ea2ec --- /dev/null +++ b/check-version.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# Github repository +MODULE="XML::Parser" + +# Get version using the MetaCPAN Rest API +VERSION=$(curl -s -L https://fastapi.metacpan.org/download_url/"$MODULE" | jq -r '.version') + +echo "$VERSION" diff --git a/pkg.info b/pkg.info index c097242..17b49f7 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: perl-xml-parser description: A perl module for parsing xml documents version: 2.47 -revision: 3 +revision: 4 url: https://github.com/chorny/XML-Parser license: GPL,PerlArtistic architecture: any