Build production plugin
Never adjust package.json's version and CHANGELOG.md manually!
Building a production plugin is completely covered by the GitLab CI. That means if you push changes to the master branch the pipeline automatically generates the installable .zip file and syncs it to wordpress.org (if configured). The plugin itself can be downloaded through GitLab Releases or Job artifacts. package.json``index.php and CHANGELOG.md is automatically generated by yarn lerna publish and yarn build.
Nothing more to say, simply follow the Git flow and automate the release management!
If you really want to build the plugin locally, you can run yarn build in your plugin folder.
Last updated
Was this helpful?