diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..d91ce38 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Git repository +REPO="https://code.qt.io/qt/qtbase.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 acaf4db..4da55cf 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,6 @@ name: qt6-base description: Cross-platform application development framework for creating graphical user interfaces -version: 6.6.2 -revision: 4 +version: 6.9.2 url: https://www.qt.io/ license: FDL,GPL3,LGPL3,custom architecture: any