From 1ca1b846b42e67745ded9439539228e962ee86ae Mon Sep 17 00:00:00 2001 From: Donncha O Caoimh <5656673+donnchawp@users.noreply.github.com> Date: Tue, 12 May 2026 14:30:11 +0100 Subject: [PATCH] Exclude dev-only files from WordPress.org build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 2.4.2 deploy surfaced three paths that were being copied to plugins.svn.wordpress.org but shouldn't ship to end users: - `AGENTS.md` and `CLAUDE.md` — agent instruction files used only when AI coding agents are working in the repo. - `lib/usage-tracking/tests` — vendored test directory from the usage tracking library. Add them to scripts/exclude.lst so they're stripped from the build the release workflow uploads to WP.org. --- scripts/exclude.lst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/exclude.lst b/scripts/exclude.lst index ff8923e38..5d191db40 100644 --- a/scripts/exclude.lst +++ b/scripts/exclude.lst @@ -20,6 +20,7 @@ wp-job-manager/.psalm/* wp-job-manager/psalm.xml wp-job-manager/scripts/* wp-job-manager/tests/* +wp-job-manager/lib/usage-tracking/tests wp-job-manager/.git/* wp-job-manager/.github/* wp-job-manager/readme.md @@ -36,3 +37,5 @@ wp-job-manager/.wp-env.json wp-job-manager/.wp-env.tests.json wp-job-manager/blueprint.json wp-job-manager/Makefile +wp-job-manager/CLAUDE.md +wp-job-manager/AGENTS.md