From 563ac32d86496a170a7245f93d3528f1429beead Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 15 Aug 2025 15:14:45 +0300 Subject: [PATCH] Update package version to 1.47.3 --- 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..ab82813 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Github repository +REPO="tytso/e2fsprogs" + +# Get tag name using Github Rest API +TAG_NAME=$(curl -s -L -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/"$REPO"/tags | jq -r '.[].name' | grep -v '-' | head -n1) + +# Trim 'v' character in TAG_NAME variable +VERSION=$(echo "$TAG_NAME" | tr -d 'v') + +echo "$VERSION" diff --git a/pkg.info b/pkg.info index 0782793..43420ed 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: e2fsprogs description: Filesystem utilities for use with the ext2 filesystem. Also includes support for the ext3 and ext4 filesystems -version: 1.47.2 +version: 1.47.3 url: https://e2fsprogs.sourceforge.net/ license: LGPL2,GPL2 architecture: any