- When the version is ready for release, bump the version number in
vip-block-data-api.php. Change plugin header andWPCOMVIP__BLOCK_DATA_API__PLUGIN_VERSIONto match new version. - PR version changes (e.g. "Release 1.2.3") and merge to
trunk. When a version change is detected, thereleaseworkflow will generate a new tag and release ZIP.
Patch updates (e.g. 1.2.3 -> 1.2.4) do not require any additional steps.
This section applies if the plugin has increased by a minor (e.g. 1.2 -> 1.3) or major (e.g. 1.2 -> 2.0) version.
For an example updating an integration version, see this mu-plugins PR.
-
Ensure that the latest release of the Block Data API plugin has been pulled in
vip-go-mu-plugins-ext. Updates are synced by minor version, so a patch update of1.2.3will be pulled intovip-integrations/vip-block-data-api-1.2. If it's not, wait for the Update versioned external dependencies workflow to pull in the latest changes, or run it manually. -
Create a branch on vip-go-mu-plugins.
-
Update the
integrations/block-data-api.phpversion to match the minor version of the plugin, e.g.1.2. This will correspond with the folder path for the plugin invip-go-mu-plugins-ext. -
Submit the PR, get it approved, and merge.