Skip to content

Commit 0ba023e

Browse files
authored
Merge pull request #1068 from asklymenko/patch-3
T7997: Exclude auxiliary directories from tarballs
2 parents 87483cc + 4fee265 commit 0ba023e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/package-build/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def build_package(package: list, patch_dir: Path) -> None:
157157

158158
# Build the package, check if we have build_cmd in the package.toml
159159
try:
160-
build_cmd = package.get('build_cmd', 'dpkg-buildpackage -uc -us -tc -F')
160+
build_cmd = package.get('build_cmd', 'dpkg-buildpackage -uc -us -tc -F --source-option=--tar-ignore=.git --source-option=--tar-ignore=.github')
161161
run(build_cmd, cwd=repo_dir, check=True, shell=True)
162162
except CalledProcessError as e:
163163
print(e)

0 commit comments

Comments
 (0)