From f08154b42a358e7ebab173fe25255205c5745ac4 Mon Sep 17 00:00:00 2001 From: strahi-linux Date: Thu, 22 Aug 2024 12:34:31 +0200 Subject: [PATCH] Removed resources from being packaged into mikrosdk --- scripts/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package.py b/scripts/package.py index 21c848a80..35560b248 100644 --- a/scripts/package.py +++ b/scripts/package.py @@ -15,7 +15,7 @@ def create_7z_archive(version, source_folder, archive_path): """Create a .7z archive from a source folder with a specific folder structure, excluding the .github folder.""" with py7zr.SevenZipFile(archive_path, 'w') as archive: for root, dirs, files in os.walk(source_folder): - if re.search(r'(\.git)|(scripts)|(templates)|(changelog)|(images)', os.path.relpath(root, source_folder)): + if re.search(r'(\.git)|(scripts)|(templates)|(changelog)|(resources)', os.path.relpath(root, source_folder)): continue for file in files: file_path = os.path.join(root, file)