diff options
author | glx22 <glx@openttd.org> | 2020-06-07 04:34:50 +0200 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2020-06-08 09:49:26 +0100 |
commit | 3d766775948fefa9ffe6e564dce844b24e2f11e0 (patch) | |
tree | ca45a86ac04eaf23f0eecf7c97111e2067c3aebd /azure-pipelines/templates/windows-build.yml | |
parent | f51e66f697e2956d57671afd90a57ca932356756 (diff) | |
download | openttd-3d766775948fefa9ffe6e564dce844b24e2f11e0.tar.xz |
Fix: Generate windows installer only for stable releases
Diffstat (limited to 'azure-pipelines/templates/windows-build.yml')
-rw-r--r-- | azure-pipelines/templates/windows-build.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/azure-pipelines/templates/windows-build.yml b/azure-pipelines/templates/windows-build.yml index fccf62d7b..07e42a7ce 100644 --- a/azure-pipelines/templates/windows-build.yml +++ b/azure-pipelines/templates/windows-build.yml @@ -2,12 +2,13 @@ parameters: BuildArch: '' VcpkgTargetTriplet: '' BuildConfiguration: '' + OptionUseNSIS: 'NO' steps: - task: CMake@1 displayName: 'Configure' inputs: - cmakeArgs: '.. -G "Visual Studio 15 2017" -A ${{ parameters.BuildArch }} -DCMAKE_TOOLCHAIN_FILE="c:\vcpkg\scripts\buildsystems\vcpkg.cmake" -DVCPKG_TARGET_TRIPLET="${{ parameters.VcpkgTargetTriplet }}"' + cmakeArgs: '.. -G "Visual Studio 15 2017" -A ${{ parameters.BuildArch }} -DCMAKE_TOOLCHAIN_FILE="c:\vcpkg\scripts\buildsystems\vcpkg.cmake" -DVCPKG_TARGET_TRIPLET="${{ parameters.VcpkgTargetTriplet }}" -DOPTION_USE_NSIS="${{ parameters.OptionUseNSIS }}"' - task: VSBuild@1 displayName: 'Build' inputs: |