diff options
author | Florian Bruhin <me@the-compiler.org> | 2022-06-22 15:56:17 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2022-06-22 15:56:40 +0200 |
commit | 1ee0152249983b08d66d171aa7222e61adeb507a (patch) | |
tree | c34656341f34c3da533ee93ad7be9d5b79e06748 | |
parent | 758eb837f8343998e392ada3657be2490e980657 (diff) | |
download | qutebrowser-1ee0152249983b08d66d171aa7222e61adeb507a.tar.gz qutebrowser-1ee0152249983b08d66d171aa7222e61adeb507a.zip |
build-release: Fix handling of Windows .zip suffix
(cherry picked from commit 208e56f0e9eaa8fc167d7fae45628a2d54e80dbf)
-rwxr-xr-x | scripts/dev/build_release.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py index e719df869..417180f24 100755 --- a/scripts/dev/build_release.py +++ b/scripts/dev/build_release.py @@ -512,12 +512,12 @@ def _package_windows_single( ] if debug: zip_name_parts.append('debug') - zip_name = '-'.join(zip_name_parts) + zip_name = '-'.join(zip_name_parts) + '.zip' zip_path = dist_path / zip_name - shutil.make_archive(str(zip_path), 'zip', 'dist', out_path.name) + shutil.make_archive(str(zip_path.with_suffix('')), 'zip', 'dist', out_path.name) artifacts.append(Artifact( - path=zip_path.with_suffix(".zip"), + path=zip_path, mimetype='application/zip', description=f'Windows {desc_arch} standalone{desc_suffix}', )) |