From 12ab917d04fd6cf11b257fa6c014160f10c8a9fc Mon Sep 17 00:00:00 2001 From: Steve Hanlon Date: Mon, 29 Jun 2026 15:06:57 +0100 Subject: [PATCH] .gitattributes: exclude server/ from git archive The server/ directory is a separate deployable, not part of the WordPress plugin. Without this, `git archive` would bundle the PHP/SQLite server code inside the plugin zip. Co-Authored-By: Claude Opus 4.7 (1M context) --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitattributes b/.gitattributes index 1822236..be0e9b6 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,9 @@ # Files excluded from `git archive` output (gitea's archive endpoint # uses git archive, so these don't ship in any release zip). +# +# The plugin is what gets installed in wp-content/plugins/. The server/ +# directory is a separate deployable (see server/DEPLOY.md) — it must not +# ship inside the WordPress plugin zip. .beads/ export-ignore .claude/ export-ignore @@ -8,3 +12,4 @@ AGENTS.md export-ignore CLAUDE.md export-ignore steps.md export-ignore +server/ export-ignore