diff options
author | Florian Bruhin <me@the-compiler.org> | 2022-06-21 21:46:17 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2022-08-23 18:31:42 +0200 |
commit | 03e383a18f65e703c816a59f49835861283993e3 (patch) | |
tree | fc85f16f7dd7e2b4f3ce36d57b3cea2083e2df14 | |
parent | 8c8f05d5386dfb00b78433f4532e71e268d1585e (diff) | |
download | qutebrowser-03e383a18f65e703c816a59f49835861283993e3.tar.gz qutebrowser-03e383a18f65e703c816a59f49835861283993e3.zip |
build-release: Add suffixes for Qt 6
-rwxr-xr-x | scripts/dev/build_release.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py index 514f47fa1..11495562f 100755 --- a/scripts/dev/build_release.py +++ b/scripts/dev/build_release.py @@ -373,6 +373,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) @@ -463,6 +464,7 @@ def _build_windows_single( desc_arch=human_arch, desc_suffix='' if x64 else ' (only for 32-bit Windows!)', debug=debug, + qt6=qt6, ) @@ -513,6 +515,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 = [] @@ -530,6 +533,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( @@ -548,6 +553,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 |