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

Use .NET built-in Tar and Zip handling #67

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

Deadpikle
Copy link
Contributor

As detailed in #63, dotnet-packaging has an issue where executable bits are not set properly.

Instead of using dotnet-packaging for tar and zip creation, just use built-in .NET functions, which handles this case automatically for you. This removes the need for dotnet-packaging in these two instances.

I did not know what to do if the output file already existed, so I made that a failure case since there is a --force CLI option.

I also added a test case for this.

Fixes #63

Fixes executable bit handling from macOS.
Also simplifies zip and tar creation by not relying on an external library.
@xoofx xoofx merged commit 24654e5 into xoofx:main Nov 13, 2024
1 check passed
@xoofx xoofx added the category: enhancement Improvements. label Nov 13, 2024
@xoofx
Copy link
Owner

xoofx commented Nov 13, 2024

Thanks!

@Deadpikle Deadpikle deleted the feature/tar-zip-handling branch November 13, 2024 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chmod +x on executables
2 participants