From 13236e91ed28b2bc33ee56ef8f2e2a15c89318e2 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Tue, 9 Sep 2025 21:32:34 +0300 Subject: [PATCH] Update package version to 1.3-20250817 --- check-version.sh | 14 ++++++++++++++ pkg.info | 2 +- 2 files changed, 15 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..60cf60f --- /dev/null +++ b/check-version.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +URL="https://invisible-island.net/archives/dialog/" + +# Get version number from tag name +VERSION=$(curl -s -L "$URL" | grep -o -E 'dialog-[0-9].[0-9]-[0-9]{1,}.tgz' | uniq | tail -n1) + +# Trim prefix +VERSION=${VERSION//dialog-/} + +# Trim suffix +VERSION=${VERSION//.tgz/} + +echo "$VERSION" diff --git a/pkg.info b/pkg.info index e4218ee..0b7bcf2 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: dialog description: Ncurses based dialog box creator for shell scripts -version: 1.3-20240619 +version: 1.3-20250817 url: https://invisible-island.net/dialog/ license: LGPL2.1 architecture: any