From 65d8833527fa27563685a0a9fecb5b4df6705287 Mon Sep 17 00:00:00 2001 From: Dominic Canare Date: Thu, 18 Jul 2024 11:30:48 -0400 Subject: [PATCH] Don't zip the deb --- .github/workflows/bundle.yml | 7 ++----- deployment/_packaging/linux.py | 4 +--- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/bundle.yml b/.github/workflows/bundle.yml index b3fd6ea00..2cc102c93 100644 --- a/.github/workflows/bundle.yml +++ b/.github/workflows/bundle.yml @@ -70,12 +70,9 @@ jobs: with: name: bundle-${{ matrix.platform }} path: | - deployment/*.rar deployment/*.msi - deployment/*.app deployment/*.dmg - deployment/*.json - deployment/*.zip + deployment/*.deb draft_release: name: Draft Github release @@ -92,6 +89,6 @@ jobs: files: | *.msi *.dmg - *.zip + *.deb draft: true name: Neon Player Release diff --git a/deployment/_packaging/linux.py b/deployment/_packaging/linux.py index 5b4f59171..55f988094 100644 --- a/deployment/_packaging/linux.py +++ b/deployment/_packaging/linux.py @@ -9,9 +9,7 @@ def create_zipped_deb_packages(dist_root: pathlib.Path, app_version: ParsedVersi deb_folder = dist_root / "debs" deb_folder.mkdir(exist_ok=True) deb_pkg = create_deb_package(dist_root, "Neon Player", app_version) - deb_pkg.rename(deb_folder / deb_pkg.name) - - shutil.make_archive(str(dist_root), "zip", deb_folder) + deb_pkg.rename(dist_root.parent / f"{dist_root.name}{deb_pkg.suffix}") def create_deb_package(