Skip to content

Commit 5a214e7

Browse files
committed
Write gzip compressed tar file.
1 parent 53eea82 commit 5a214e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

codeql_bundle/helpers/bundle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,5 +415,5 @@ def bundle(self, output_path: Path):
415415
output_path = output_path / "codeql-bundle.tar.gz"
416416

417417
logging.debug(f"Bundling custom bundle to {output_path}.")
418-
with tarfile.TarFile(output_path, mode="w") as bundle_archive:
418+
with tarfile.open(output_path, mode="w:gz") as bundle_archive:
419419
bundle_archive.add(self.bundle_path, arcname="codeql")

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "codeql-bundle"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
description = "Tool to create custom CodeQL bundles"
55
authors = ["Remco Vermeulen <[email protected]>"]
66
readme = "README.md"

0 commit comments

Comments
 (0)