You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/release-checklist.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,8 @@ PR for tracking changes for the x.x.x release. Target release date: **DOW MONTH
16
16
-[ ] PHPCSExtra: check if there have been [releases][phpcsextra-releases] since the last WordPressCS release and check through the changelog to see if there is anything WordPressCS could take advantage of - PR #xxx
17
17
-[ ] Check if the minimum WP version property needs updating in `MinimumWPVersionTrait::$default_minimum_wp_version` and if so, action it - PR #xxx
18
18
-[ ] Check if the `minimum_wp_version` and `testVersion` properties in `phpcs.xml.dist.sample` need updating and if so, action it - PR #xxx
19
+
-[ ] Check if the PHPCompatibility `testVersion` mentioned in the README needs updating and if so, action it - PR #xxx
20
+
:pencil2: Rule of thumb: stay in line with the "support three versions of WP below the current version" guideline, as also applied for the `minimum_wp_version`.
19
21
-[ ] Check if any of the list based sniffs need updating and if so, action it.
20
22
:pencil2: Make sure the "last updated" annotation in the docblocks for these lists has also been updated!
21
23
List based sniffs:
@@ -48,14 +50,16 @@ PR for tracking changes for the x.x.x release. Target release date: **DOW MONTH
48
50
-[ ] Merge this PR.
49
51
-[ ] Make sure all CI builds are green.
50
52
-[ ] Tag and create a release against `main` (careful, GH defaults to `develop`!) & copy & paste the changelog to it.
53
+
_From within the GH interface: Code tab -> Releases -> "Draft a new release" button at the top of the page._
51
54
:pencil2: Check if anything from the link collection at the bottom of the changelog needs to be copied in!
52
55
- Remove square brackets from all ticket links or make them proper full links (as GH markdown parser doesn't parse these correctly).
53
56
- Change all contributor links to full inline links (as GH markdown parser on the Releases page doesn't parse these correctly).
54
57
-[ ] Make sure all CI builds are green.
55
58
-[ ] Close the milestone.
56
59
-[ ] Open a new milestone for the next release.
57
60
-[ ] If any open PRs/issues which were milestoned for this release did not make it into the release, update their milestone.
58
-
-[ ] Fast-forward `develop` to be equal to `main`.
61
+
-[ ] Fast-forward `develop` to be equal to `main` (`git checkout develop && git pull upstream/develop && git merge main`).
62
+
:pencil: Branch protection may need to get a temporary exception to allow for pushing the `develop` branch. Please remember to remove the exception once the push has gone through!
59
63
60
64
### After release
61
65
@@ -69,7 +73,8 @@ PR for tracking changes for the x.x.x release. Target release date: **DOW MONTH
69
73
:pencil2: No need to post in the #core-coding-standard channel as that gets an automated release notification anyway.
70
74
-[ ] Optionally post in #plugin-review if a sniff was added in a release which was requested by the plugin review team.
71
75
-[ ] Optionally post in #core-docs if significant updates were made to the documentation ruleset.
72
-
-[ ] Create a Marketing team ["amplify request"][amplify-request].
76
+
-[ ] Create a Marketing team ["amplify request"][amplify-request].
77
+
Example post: https://github.com/WordPress/marketing/issues/746
73
78
-[ ] Submit for the ["Monthly Dev Roundup"][dev-roundup].
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,7 +163,7 @@ Install either as a separate ruleset and run it separately against your code or
163
163
</rule>
164
164
```
165
165
166
-
Whichever way you run it, do make sure you set the `testVersion` to run the sniffs against. The `testVersion` determines for which PHP versions you will receive compatibility information. The recommended setting for this at this moment is `7.2-` to support the same PHP versions as WordPress Core supports.
166
+
Whichever way you run it, do make sure you set the `testVersion` to run the sniffs against. The `testVersion` determines for which PHP versions you will receive compatibility information. The recommended setting for this at this moment is `7.2-` to support the last three WordPress releases.
167
167
168
168
For more information about setting the `testVersion`, see:
169
169
*[PHPCompatibility: Sniffing your code for compatibility with specific PHP version(s)](https://github.com/PHPCompatibility/PHPCompatibility#sniffing-your-code-for-compatibility-with-specific-php-versions)
0 commit comments