There was an error while loading. Please reload this page.
2 parents af786ab + 896c4b2 commit 05f0a67Copy full SHA for 05f0a67
1 file changed
scripts/package-build/build.py
@@ -140,7 +140,7 @@ def build_package(package: list, patch_dir: Path) -> None:
140
# Sanitize the commit ID and build a tarball for the package
141
commit_id_sanitized = package['commit_id'].replace('/', '_')
142
tarball_name = f"{repo_name}_{commit_id_sanitized}.tar.gz"
143
- run(['tar', '-czf', tarball_name, '-C', str(repo_dir.parent), repo_name], check=True)
+ run(['tar', '--exclude=.git', '--exclude=.github', '-czf', tarball_name, '-C', str(repo_dir.parent), repo_name], check=True)
144
print(f"I: Tarball created: {tarball_name}")
145
146
# Prepare the package if required
0 commit comments