From 8769e9f37cfcaf4aa8474b93e66abfe4978d4d9f Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 19 Sep 2025 20:11:02 +0300 Subject: [PATCH] Update package version to 6.9.2 --- check-version.sh | 12 ++++++++++++ pkg.info | 3 +-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 check-version.sh diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..4f33b87 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Git repository +REPO="https://code.qt.io/qt/qt5compat.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 -v '-' | tail -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 a0c25e8..835c2e4 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,6 @@ name: qt6-5compat description: Module that contains unsupported Qt 5 APIs -version: 6.6.2 -revision: 3 +version: 6.9.2 url: https://www.qt.io/ license: FDL,GPL3,LGPL3,custom architecture: any