WP CLI `.distignore` syntax is changing

Open
#139 2 comments 2 reactions 2 assignees View on GitHub

@kmgalanakis is already working on this.

Since Jan 21, 2026.

  • #148 by @claytoncollie — open

Assessment

This issue has not been assessed yet.

Description

help wanted needs:engineering type:enhancement

Describe the bug

WP CLI's .distignore files will soon support the full .gitignore syntax. Users who write their .distignore file with the larger syntax will encounter issues with 10up/action-wordpress-plugin-deploy.

https://github.com/wp-cli/dist-archive-command/pull/78

Expected behavior

Users will expect a .distignore file to behave the same in both contexts.

Additional context

There are no breaking changes with the existing syntax, the new syntax is a superset (according to the test cases in wp-cli/dist-archive-command).

Dominant language
Shell
Stars
665
Forks
115
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from 10up/action-wordpress-plugin-deploy

All issues in 10up/action-wordpress-plugin-deploy

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.