diff options
-rw-r--r-- | docker/windowsservercore/Dockerfile | 2 | ||||
-rw-r--r-- | scripts/make-release-archives.bat | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docker/windowsservercore/Dockerfile b/docker/windowsservercore/Dockerfile index 942ecbd2b..561116c3f 100644 --- a/docker/windowsservercore/Dockerfile +++ b/docker/windowsservercore/Dockerfile @@ -22,7 +22,7 @@ RUN @powershell -NoProfile -ExecutionPolicy Bypass -Command \ $Env:chocolateyVersion = '0.10.5' ; \ $Env:chocolateyUseWindowsCompression = 'false' ; \ "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" -RUN choco install -y qbs --version 1.8.1 && qbs --version +RUN choco install -y qbs --version 1.9.0 && qbs --version RUN choco install -y unzip --version 6.0 && unzip -v RUN choco install -y visualcpp-build-tools --version 14.0.25420.1 && dir "%PROGRAMFILES(X86)%\Microsoft Visual C++ Build Tools" RUN choco install -y zip --version 3.0 && zip -v diff --git a/scripts/make-release-archives.bat b/scripts/make-release-archives.bat index 19e06bcec..865efb2fd 100644 --- a/scripts/make-release-archives.bat +++ b/scripts/make-release-archives.bat @@ -63,10 +63,10 @@ if exist "%QTDIR64%" ( REM Work around QBS-1142, where symlinks to UNC named paths aren't resolved REM properly, for example if this command is being run in a Docker container REM where the current directory is a symlink -(robocopy "%CD%" "%builddir%\source" /e /njh /njs /ndl /nc /ns /xd .git) ^& IF %ERRORLEVEL% GTR 1 exit %ERRORLEVEL% +subst Q: "%CD%" && Q: qbs build --settings-dir "%builddir%\.settings"^ - -f "%builddir%\source" -d "%builddir%\build"^ + -f qbs.qbs -d "%builddir%\build"^ -p dist qbs.buildVariant:release "products.qbs archive.includeTopLevelDir:true"^ release "qbs.installRoot:%builddir%\qbs-windows-x86-%version%" profile:qt^ release-64 "qbs.installRoot:%builddir%\qbs-windows-x86_64-%version%" profile:qt64 || exit /b |