Skip to content

Commit 0ef1a23

Browse files
committed
CI: don't use --release flag with windeployqt and mingw
1 parent c1e559e commit 0ef1a23

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

ci/pack.ps1

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,13 @@ elseif ($isWindows) {
101101
exit 1
102102
}
103103

104-
if ($curConfig -eq 'Release') {
105-
& $windeployBin --release ./uc2.exe
104+
if ($curConfig -eq 'Release') {
105+
if ($isMingwBuild) {
106+
& $windeployBin ./uc2.exe
107+
}
108+
else {
109+
& $windeployBin --release ./uc2.exe
110+
}
106111
}
107112
else {
108113
& $windeployBin ./uc2.exe

0 commit comments

Comments
 (0)