Fixing build script.

This commit is contained in:
Roman Telezhynskyi 2024-03-26 15:08:47 +02:00
parent fef128d461
commit 22cbbcadfd

View File

@ -414,7 +414,7 @@ for:
deploy_script:
- ps: |
if ($env:WITH_CRASH_REPORTING -eq "True") {
$qmakeOutput = $env:QTDIR\bin\$env:QMAKE -query QT_VERSION
$qmakeOutput = & "$env:QTDIR\bin\$env:QMAKE" -query QT_VERSION
$majorMinorVersion = $qmakeOutput -replace '\D+(\d+)\.(\d+).*', '$1_$2'
$env:CRASH_QT_VERSION = $majorMinorVersion