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

Incorrect artifact creation when target is a directory starting with dot #291

Closed
zuzuleinen opened this issue Dec 9, 2022 · 1 comment · Fixed by #294
Closed

Incorrect artifact creation when target is a directory starting with dot #291

zuzuleinen opened this issue Dec 9, 2022 · 1 comment · Fixed by #294
Assignees
Labels
bug Something isn't working

Comments

@zuzuleinen
Copy link
Contributor

A task with directory target starting with . will remove the dot when creating the artifact.

 targetwithdirs:
    cmd: |-
      mkdir -p .bbuild/dirone/dirtwo
      touch .bbuild/dirone/fileone
      touch .bbuild/dirone/filetwo
      touch .bbuild/dirone/dirtwo/fileone
      touch .bbuild/dirone/dirtwo/filetwo
    target: .bbuild/dirone/

The above task will create an artifact with bbuild instead of .bbuild breaking the subsequent unpacks.

@zuzuleinen zuzuleinen added the bug Something isn't working label Dec 9, 2022
@zuzuleinen zuzuleinen self-assigned this Dec 19, 2022
@zuzuleinen zuzuleinen mentioned this issue Dec 19, 2022
5 tasks
@zuzuleinen
Copy link
Contributor Author

This issue will be fixed by #294

@zuzuleinen zuzuleinen linked a pull request Dec 19, 2022 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant