fix(faustwp): exclude updater code from wordpress.org build, add info.json#2423
fix(faustwp): exclude updater code from wordpress.org build, add info.json#2423josephfusco wants to merge 1 commit into
Conversation
….json - Add includes/updates and info.json to .distignore so the wordpress.org build no longer ships the external update channel files. - Reword the file_exists comment in faustwp.php to make the wordpress.org exclusion explicit. - Qualify the 1.5.0 self-update changelog entry so historical entries surfacing in readme.txt clarify that they apply only to non-wordpress.org distributions. - Add an explicit verify-published-plugin.sh assertion for updater file absence, with a targeted failure message. - Check in plugins/faustwp/info.json at 1.8.9 and wire its refresh into scripts/versionPlugin.js so version, last_updated, tested, download_link, the versions map and the changelog section stay in sync at each version bump.
|
📦 Next.js Bundle Analysis for @faustwp/getting-started-exampleThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
|
Closing — initial audit was based on stale canary state and missed the existing composite action at .github/actions/release-plugin/action.yml, which already handles the two-build split and info.json refresh. The .distignore + info.json + versionPlugin.js changes here either duplicate that infra or actively break the main/internal zip. Reopening with a much smaller scope. |
Excludes the updater PHP files and info.json from the wordpress.org distribution via .distignore, clarifies the conditional require comment, qualifies the 1.5.0 self-update changelog entry, adds an explicit verifier assertion for updater file absence, and wires info.json refresh (version, last_updated, tested, download_link, versions map, changelog section) into scripts/versionPlugin.js so the non-wordpress.org channel manifest stays in sync at every version bump.