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