From d7a7d876cfdfaa04827d8949f012fe7d72bd5793 Mon Sep 17 00:00:00 2001
From: Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
Date: Tue, 8 Mar 2022 18:23:08 -0500
Subject: [PATCH] scripts(windows): configure Release instead of Beta for beta
 builds

Beta releases only need a build flag and not an entire vs project
configuration.

Change-Id: Id177e0adbc63a8666c20df3e16c8b5f2512739b5
---
 make-client.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/make-client.py b/make-client.py
index c5a059bbd..0bc78cda9 100644
--- a/make-client.py
+++ b/make-client.py
@@ -207,7 +207,7 @@ def build(config_str, qtver, tests=False):
 
     cmake_options = [
         '-DCMAKE_PREFIX_PATH=' + qt_dir,
-        '-DCMAKE_BUILD_TYPE=' + config_str
+        '-DCMAKE_BUILD_TYPE=' + 'Release'
     ]
     if tests:
         cmake_options.append('-DENABLE_TESTS=true')
@@ -228,7 +228,7 @@ def build(config_str, qtver, tests=False):
     print('Building…')
     cmd = [
         'cmake', '--build', '.',
-        '--config', config_str,
+        '--config', 'Release',
         '--', '-m'
     ]
     if(execute_cmd(cmd, False, vs_env_vars, build_dir)):
-- 
GitLab