This documentation describes how to release the plugin to WordPress.org.
The plugin version number needs to be updated in the following files:
Before each release, a good practice is to test the plugin with the latest major version of WordPress. After testing, the tested up to
version in the readme.txt
and plugin.php
files should be updated.
In the readme.txt
file, update the changelog for the new version.
The release script uses the SVN username to upload the plugin to WordPress.org. This username needs to have access to the plugin repository on WordPress.org SVN. The username needs to be set in the .env
file as SVN_USERNAME
.
From the plugin root folder in your terminal, run the following command:
bash .bin/release.sh
This will run the release script and publish the new version to WordPress.org.
From GitHub UI, create a new release tag for the plugin on GitHub. The tag should be named Version <version number>
. For example, Version 1.0.0
.
Add the changelog from the readme.txt
file to the release description and create the release.