diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..c599f39 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Git repository +REPO="https://code.qt.io/qt/qtshadertools.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 a994229..0b2ef42 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,6 @@ name: qt6-shadertools description: Provides functionality for the shader pipeline that allows Qt Quick to operate on Vulkan, Metal, and Direct3D, in addition to OpenGL -version: 6.6.2 -revision: 2 +version: 6.9.2 url: https://www.qt.io/ license: GPL3 architecture: any