From 225bc5391ec3e85198e637ea1b3baf465c30d6f1 Mon Sep 17 00:00:00 2001 From: Clayton Collie Date: Wed, 3 Apr 2024 12:24:42 -0500 Subject: [PATCH] Update README to show that full syntax is supported --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5170895..54852c8 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ If there are files or directories to be excluded from deployment, such as tests #### `.distignore` -**Notes:** `.distignore` is for files to be ignored **only**; it does not currently allow negation like `.gitignore`. This comes from its current expected syntax in WP-CLI's [`wp dist-archive` command](https://github.com/wp-cli/dist-archive-command/). It is possible that this Action will allow for includes via something like a `.distinclude` file in the future, or that WP-CLI itself makes a change that this Action will reflect for consistency. It also will need to contain more than `.gitattributes` because that method **also** respects `.gitignore`. +**Notes:** `.distignore` supports the full `.gitignore` syntax which allows negations such as `!important.txt`. This functionality comes from the WP-CLI's [`wp dist-archive` command](https://github.com/wp-cli/dist-archive-command/). ``` /.wordpress-org