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:17 +0200 |
commit | 208e56f0e9eaa8fc167d7fae45628a2d54e80dbf (patch) | |
tree | 85d1ecac43c7a03d864843c22c41fb09b385ed70 | |
parent | 4e5b1d287d655ec27e5c8f2730ee4e1e682ce940 (diff) | |
download | qutebrowser-208e56f0e9eaa8fc167d7fae45628a2d54e80dbf.tar.gz qutebrowser-208e56f0e9eaa8fc167d7fae45628a2d54e80dbf.zip |
build-release: Fix handling of Windows .zip suffix
-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}', )) |