Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg_tar should not prefix tree artifacts with ./ #681

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

clint-stripe
Copy link
Contributor

Fixes #676

It was enlightening to note that build_zip doesn't have the same problem! build_zip's add_tree has a key special case that previously we didn't have in build_tar:
https://github.com/bazelbuild/rules_pkg/blob/main/pkg/private/zip/build_zip.py#L178-L194

@aiuto
Copy link
Collaborator

aiuto commented Mar 16, 2023

Thanks for an easy to review PR.

  • It fixes an issue that has been marked as a bug
  • It comes with a test

@aiuto aiuto merged commit edd4d3d into bazelbuild:main Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

prefix-stripped directory artifacts end up with two versions, with and without leading .
2 participants