vaticle / bazel-distribution

Bazel rules for assembling and deploying software distributions (see @vaticle for usage example)
https://bazel.build
Apache License 2.0
155 stars 53 forks source link

Update artifact extractor to be compatible with updated rules_pkg #386

Closed dmitrii-ubskii closed 9 months ago

dmitrii-ubskii commented 9 months ago

What is the goal of this PR?

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.

vaticle-bot commented 9 months ago

PR Review Checklist

Do not edit the content of this comment. The PR reviewer should simply update this comment by ticking each review item below, as they get completed.


Trivial Change

Code

Architecture