bazel-distribution icon indicating copy to clipboard operation
bazel-distribution copied to clipboard

artifact_extractor does not accept absolute path

Open lolski opened this issue 2 years ago • 0 comments

The artifact_extractor will fail to extract artifacts when the output path is specified as absolute path like below. Moreover, the failure is silent (ie., without throwing any error):

bazel run //test:typedb-extractor-linux /home/grabl/$GRABL_REPO/dist/typedb-all-linux/

If a relative path is supplied instead, the rule will work successfully:

bazel run //test:typedb-extractor-linux dist/typedb-all-linux/

This isn't ideal and the rule should be made to work for any valid file paths, both absolute and relative.

lolski avatar May 04 '22 10:05 lolski