wp-cli / dist-archive-command

Create a distribution .zip or .tar.gz based on a plugin or theme's .distignore file
https://developer.wordpress.org/cli/commands/dist-archive/
MIT License
47 stars 23 forks source link

Do not match partially matching file names #77

Closed swissspidy closed 1 year ago

swissspidy commented 1 year ago

Resolves the issue reported at https://github.com/wp-cli/dist-archive-command/issues/44#issuecomment-1677135516 where ignoring foo.js would exclude foo.json without the ability to force-include the latter.