Build production plugin

circle-exclamation

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 Releasesarrow-up-right or Job artifacts. package.json``index.php and CHANGELOG.md is automatically generated by yarn lerna publish and yarn build.

Predefined pipelinechevron-rightDeploy wordpress.orgchevron-right
circle-info

Ensure GITLAB_TOKEN is set with a personal tokenarrow-up-right in your GitLab CI variables. Learn more here.

circle-check

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

Last updated