Deploy wordpress.org
Initial release
In this section it is explained how to release a new plugin to wordpress.org. Generally the initial release needs to be reviewed by the wordpress.org team so you have to prepare the installable plugin as .zip file locally. Later - when updating the plugin - the GitLab CI is used.
Add functionality to your plugin and prepare for release
Adjust
wordpress.org/README.wporg.txtfiles (you can use README validator)Prepare you images (header, icon, screenshots) in
wordpress.org/assetsWhen you think it is ready to release
Commit your work
Let the CI/CD system build the plugin for you
Download the installable
.zipfrom the Job artifacts
Navigate to
buildand you will se a generated.zipfileWait for approval
Enable SVN deploy
When the above initial review got approved you can go on with deployment via CI/CD:
In your repository navigate to Settings > CI / CD > Variables
Add variable
WPORG_SVN_URL: When the plugin gots approved you will get a SVN url, put it hereAdd variable
WPORG_SVN_USERNAME: The username of your wordpress.org userAdd variable
WPORG_SVN_PASSWORD: The password of your wordpress.org user. You have to protect and - mask it. Note: If you password does not meet the requirements of Masked Variables it does not work. It depends on you: Change your password so it works or leave it unmaskedPut some changes to
developbranche and merge it tomasterThe CI/CD automatically deploys to wordpress.org
Last updated