Skip to content

Commit

Permalink
Removed resources from being packaged into mikrosdk
Browse files Browse the repository at this point in the history
  • Loading branch information
StrahinjaJacimovic committed Aug 22, 2024
1 parent b3f8aba commit f08154b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f08154b

Please sign in to comment.