Skip to content

fix directories not being ignored for upload when running build#79

Merged
zlangbert merged 1 commit intomainfrom
fix-build-ignore
Sep 5, 2025
Merged

fix directories not being ignored for upload when running build#79
zlangbert merged 1 commit intomainfrom
fix-build-ignore

Conversation

@zlangbert
Copy link
Contributor

@zlangbert zlangbert commented Sep 5, 2025

Directories specified in .gitignore were not being properly ignored (though files were). Whether that was a bug in github.com/monochromegane/go-gitignore or our use of it I don't know. But that package has not been maintained for 5 years.

Replaced it with https://github.com/boyter/gocodewalker which does essentially the same thing but is currently maintained. Tested with this new implementation and both files and directories are properly excluded from the tarball.

@zlangbert zlangbert merged commit 3ce2036 into main Sep 5, 2025
13 checks passed
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.

2 participants