Update package version to 4.7

This commit is contained in:
2025-07-16 18:45:40 +03:00
parent 3572ab04fb
commit 297f85ad02
2 changed files with 16 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
# Github repository
REPO="plougher/squashfs-tools"
# 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"/releases/latest | jq -r '.tag_name')
# Get version number from tag name
VERSION=$(echo "$TAG_NAME" | rev | cut -d'-' -f1 | rev)
# Trim 'v' character in VERSION variable
VERSION=$(echo "$VERSION" | tr -d 'v')
echo "$VERSION"
+1 -2
View File
@@ -1,7 +1,6 @@
name: squashfs-tools name: squashfs-tools
description: Tools to create and extract Squashfs filesystems description: Tools to create and extract Squashfs filesystems
version: 4.6.1 version: 4.7
revision: 2
url: https://github.com/plougher/squashfs-tools url: https://github.com/plougher/squashfs-tools
license: GPL2 license: GPL2
architecture: any architecture: any