Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Build: Clean working directory prior to packaging #2856
This pull request seeks to improve the plugin build packager script to ensure a clean working directory before creating the plugin archive. This seeks to avoid the case where ignored local files are accidentally included in the built package. It also adds improved messaging to the build script to indicate the current status of the build ("Downloading remote vendor scripts...", "Creating archive...", etc).
I tested this change and it all looks good.
My test first was with master adding a dummy file foo.js in the build directory and confirmed that it shows up in the created gutenberg.zip. Switching to this branch and building the file does not show.
Bonus, tested installing gutenberg.zip as plugin on site and works as expected.