Avoid user / system files in generated zip #921
Labels
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
[Type] Build Tooling
Issues or PRs related to build tooling
[Type] Task
Issues or PRs that have been broken down into an individual action to take
Notably Mac writes
.DS_Store
files to opened folders. With our current plugin build script, these would be included in archived build folders:https://github.com/WordPress/gutenberg/blob/master/bin/build-plugin-zip.sh
May be simple enough to add an
-x "*.DS_Store
argument to thezip
command:https://superuser.com/a/198593
Or we could try to be fancier in accounting for more ignored files / extensions.
The text was updated successfully, but these errors were encountered: