From 8c9d882a8e6db051b6fdcd9bb0a1c786958a1c44 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 19 Sep 2025 20:00:16 +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..172caf4 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Git repository +REPO="https://code.qt.io/qt/qtdeclarative.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 1b97463..085bdde 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,6 @@ name: qt6-declarative description: Classes for QML and JavaScript languages -version: 6.6.2 -revision: 2 +version: 6.9.2 url: https://www.qt.io/ license: FDL,GPL3,LGPL3,custom architecture: any