From 601d9d780bb8f628c024645bd43af484fc11bfd3 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 21 Jun 2022 21:46:17 +0200 Subject: build-release: Add suffixes for Qt 6 --- scripts/dev/build_release.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py index 8e121eab1..0f3c6df36 100755 --- a/scripts/dev/build_release.py +++ b/scripts/dev/build_release.py @@ -370,6 +370,7 @@ def build_mac( subprocess.run(['make', '-f', dmg_makefile_path], check=True) suffix = "-debug" if debug else "" + suffix += "-qt6" if qt6 else "" dmg_path = dist_path / f'qutebrowser-{qutebrowser.__version__}{suffix}.dmg' pathlib.Path('qutebrowser.dmg').rename(dmg_path) @@ -460,6 +461,7 @@ def _build_windows_single( desc_arch=human_arch, desc_suffix='' if x64 else ' (only for 32-bit Windows!)', debug=debug, + qt6=qt6, ) @@ -510,6 +512,7 @@ def _package_windows_single( desc_suffix: str, filename_arch: str, debug: bool, + qt6: bool, ) -> List[Artifact]: """Build the given installer/zip for windows.""" artifacts = [] @@ -527,6 +530,8 @@ def _package_windows_single( ] if debug: name_parts.append('debug') + if qt6: + name_parts.append('qt6') name = '-'.join(name_parts) + '.exe' artifacts.append(Artifact( @@ -545,6 +550,8 @@ def _package_windows_single( ] if debug: zip_name_parts.append('debug') + if qt6: + zip_name_parts.append('qt6') zip_name = '-'.join(zip_name_parts) + '.zip' zip_path = dist_path / zip_name -- cgit v1.2.3-54-g00ecf