Build production plugin

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.

Predefined pipelineDeploy wordpress.org

Ensure GITLAB_TOKEN is set with a personal token in your GitLab CI variables. Learn more here.

If you really want to build the plugin locally, you can run yarn build in your plugin folder.

Last updated

Was this helpful?