The updated rules_pkg (updated in https://github.com/vaticle/bazel-distribution/pull/382) packages tar.gz files without a leading ./ path. The artifact extractor therefore only needs to strip one layer from tar.gz files built by the assemble_targz, instead of two.
What are the changes implemented in this PR?
Strip one layer of directories from tar.gz files while extracting TypeDB distributions.
What is the goal of this PR?
The updated
rules_pkg
(updated in https://github.com/vaticle/bazel-distribution/pull/382) packagestar.gz
files without a leading./
path. The artifact extractor therefore only needs to strip one layer fromtar.gz
files built by theassemble_targz
, instead of two.What are the changes implemented in this PR?
Strip one layer of directories from
tar.gz
files while extracting TypeDB distributions.