Skip to content

Commit 668294e

Browse files
committed
CI: Resolve Qt version correctly
1 parent bd61764 commit 668294e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.ci/build_qt6.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ echo "Target architecture: ${target_arch} (${BUILD_ARCH_NAME})"
4040
# Clone Qt
4141
git clone https://github.com/qt/qt5 qt || exit 1
4242
cd qt
43-
git checkout "v$qt_version" || exit 1
43+
git checkout `git for-each-ref --sort=-taggerdate --format='%(objectname)' --count=1 "refs/tags/v$qt_version"` || exit 1
4444
./init-repository --module-subset=qtbase,qttools,qtdeclarative,qtsvg,${qt_modules} || exit 1
4545

4646
# Build Qt (host)

0 commit comments

Comments
 (0)