summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-06-21 21:46:17 +0200
committerFlorian Bruhin <me@the-compiler.org>2022-06-22 17:41:12 +0200
commit601d9d780bb8f628c024645bd43af484fc11bfd3 (patch)
treedc06ef3c60a5e1bad6abaa51990d837531f224c0
parent8a8dc212bc3ddfb312459a56c6eb2ce10318225e (diff)
downloadqutebrowser-601d9d780bb8f628c024645bd43af484fc11bfd3.tar.gz
qutebrowser-601d9d780bb8f628c024645bd43af484fc11bfd3.zip
build-release: Add suffixes for Qt 6
-rwxr-xr-xscripts/dev/build_release.py7
1 files changed, 7 insertions, 0 deletions
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