diff --git a/.bazeliskrc b/.bazeliskrc new file mode 100644 index 0000000..a28c887 --- /dev/null +++ b/.bazeliskrc @@ -0,0 +1,2 @@ +BAZELISK_BASE_URL=https://github.com/aspect-build/aspect-cli/releases/download +USE_BAZEL_VERSION=aspect/5.7.2 diff --git a/lib/private/tar.bzl b/lib/private/tar.bzl index f3e9e20..4b301e5 100644 --- a/lib/private/tar.bzl +++ b/lib/private/tar.bzl @@ -154,10 +154,7 @@ def _mtree_impl(ctx): runfiles_dir = _calculate_runfiles_dir(default_info) for file in depset(transitive = [s.default_runfiles.files]).to_list(): destination = _runfile_path(ctx, file, runfiles_dir) - content.add("{} uid=0 gid=0 mode=0755 time=1672560000 type=file content={}".format( - destination, - file.path, - )) + content.add(_mtree_line(destination, file.path, "file")) ctx.actions.write(out, content = content)