cloudflare/Cloudflare-WordPress
Publicmirrored fromhttps://github.com/cloudflare/Cloudflare-WordPress
docs/release-new-version.md
41lines · modecode
unknown
| 1 | # Releasing New Version Of Cloudflare WordPress Plugin |
| 2 | |
| 3 | ### Update any backend/frontend dependencies |
| 4 | |
| 5 | If there are any required changes from the backend, frontend or dependant |
| 6 | projects, update them and commit the changes. |
| 7 | |
| 8 | ### Update readme.txt and plugin version references |
| 9 | |
| 10 | WordPress uses the readme.txt heavily for metadata about the plugin. You will |
| 11 | need to bump the version number and update `== Changelog ==` section according |
| 12 | to what code changes have been made since the last release. |
| 13 | |
| 14 | ## Prepare to release |
| 15 | |
| 16 | Ensure all desired changes are merged into master from their feature and bugfix |
| 17 | branches. Ensure that CI is all passing. If it is not, do not create a new |
| 18 | release -- fix any failures or violations. |
| 19 | |
| 20 | ### Create a new GitHub release |
| 21 | |
| 22 | 1. Open `https://github.com/cloudflare/CloudFlare-WordPress/releases`. |
| 23 | 1. Create a new release with the next semantically correct version. Fill in any |
| 24 | CHANGELOG, notes or upgrade entries from the readme.txt file. |
| 25 | 1. Click save. |
| 26 | |
| 27 | By creating a new published release (not draft), it will trigger a GitHub Action |
| 28 | to bundle the required files to generate the SVN changes and push them to |
| 29 | wordpress.org |
| 30 | |
| 31 | ### Verify |
| 32 | |
| 33 | The WordPress.org plugin SVN repo should update automatically, and you should |
| 34 | see the latest tag reflected on [the official WordPress Cloudflare plugin page shortly](https://en-gb.wordpress.org/plugins/cloudflare/). |
| 35 | |
| 36 | At this point, users should see a notification on their plugins page that the |
| 37 | Cloudflare plugin has a newer version available and should be able to update it |
| 38 | from within WordPress. |
| 39 | |
| 40 | As a sanity check, use a working WordPress instance to install and smoke test |
| 41 | the latest version of the plugin. |