Skip to content

Commit 09ef111

Browse files
committed
tar.zstd extension is not supported, use .tar.zst or .tzst
1 parent 4e713a1 commit 09ef111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloud_archive.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def validate_checksum(repo_ctx, url, local_path, expected_sha256):
2222

2323
def extract_archive(repo_ctx, local_path, strip_prefix, build_file, build_file_contents):
2424
bash_path = repo_ctx.os.environ.get("BAZEL_SH", "bash")
25-
if local_path.endswith(".tar.zst") or local_path.endswith(".tar.zstd"):
25+
if local_path.endswith(".tar.zst") or local_path.endswith(".tzst"):
2626
# Recent TAR supports zstd, if the compressor is installed.
2727
zst_path = repo_ctx.which("zstd")
2828
if zst_path == None:

0 commit comments

Comments
 (0)