chore(release): prepare v0.2.2

This commit is contained in:
Xubin Ren
2026-06-22 20:53:28 +08:00
parent 7170761e47
commit 83c29292d3
11 changed files with 53 additions and 49 deletions
@@ -78,7 +78,7 @@ def package_skill(skill_path, output_dir=None):
skill_filename = output_path / f"{skill_name}.skill"
EXCLUDED_DIRS = {".git", ".svn", ".hg", "__pycache__", "node_modules"}
excluded_dirs = {".git", ".svn", ".hg", "__pycache__", "node_modules"}
files_to_package = []
resolved_archive = skill_filename.resolve()
@@ -91,7 +91,7 @@ def package_skill(skill_path, output_dir=None):
return None
rel_parts = file_path.relative_to(skill_path).parts
if any(part in EXCLUDED_DIRS for part in rel_parts):
if any(part in excluded_dirs for part in rel_parts):
continue
if file_path.is_file():