From 1f48c6eb1e1b24b2351ae85d9277d6af94aff2d2 Mon Sep 17 00:00:00 2001 From: strahi-linux Date: Thu, 22 Aug 2024 12:35:51 +0200 Subject: [PATCH] Updated resources --- scripts/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package.py b/scripts/package.py index 35560b248..82ee815ad 100644 --- a/scripts/package.py +++ b/scripts/package.py @@ -29,7 +29,6 @@ def create_custom_archive(source_folder, archive_path): with py7zr.SevenZipFile(archive_path, 'w') as archive: os.chdir(source_folder) archive.writeall('./') - os.chdir('..') def upload_asset_to_release(repo, release_id, asset_path, token): """Upload an asset to a specific GitHub release.""" @@ -71,6 +70,7 @@ def zip_bsp_related_files(archive_path, repo_dir): ] ) create_custom_archive('output', archive_path) + os.chdir(repo_dir) def hash_file(filename): """Generate MD5 hash of a file."""