|
112 | 112 |
|
113 | 113 | 10. Bump the version numbers in `main/php_version.h`, `Zend/zend.h`,
|
114 | 114 | `configure.ac` and `NEWS` in the *main* branch (PHP-7.4 for example) to
|
115 |
| - prepare for the **next** version. F.e. if the RC is "7.4.1RC1" then the new |
116 |
| - one should be `7.4.2-dev` - regardless if we get a new RC or not. This is to |
117 |
| - make sure `version_compare()` can correctly work. Commit the changes to the |
118 |
| - main branch. |
| 115 | + prepare for the **next** version. For example, if the RC is "7.4.1RC1" then |
| 116 | + the new one should be `7.4.2-dev` - regardless if we get a new RC or not. |
| 117 | + This is to make sure `version_compare()` can correctly work. Commit the |
| 118 | + changes to the main branch. |
119 | 119 |
|
120 | 120 | 11. Push the changes to the main repo, the tag, the main branch and the release
|
121 | 121 | branch. Release branches for alpha/beta/.0RCx releases before to GA release
|
|
139 | 139 | have this directory, create it.
|
140 | 140 |
|
141 | 141 | 15. Now the RC can be found on https://downloads.php.net/~yourname,
|
142 |
| - f.e. https://downloads.php.net/~derick/. |
| 142 | + e.g. https://downloads.php.net/~derick/. |
143 | 143 |
|
144 | 144 | 16. Once the release has been tagged, contact the release-managers@ distribution
|
145 | 145 | list so that Windows binaries can be created. Once those are made, they can
|
|
204 | 204 | `Zend/zend.h`, `configure.ac` and possibly `NEWS`.
|
205 | 205 |
|
206 | 206 | 2. If a CVE commit needs to be merged to the release, then have it committed to
|
207 |
| - the base branches and merged upwards as usual (f.e commit the CVE fix to |
| 207 | + the base branches and merged upwards as usual (e.g. commit the CVE fix to |
208 | 208 | 7.2, merge to 7.3, 7.4 etc...). Then you can cherry-pick it in your release
|
209 | 209 | branch. Don't forget to update `NEWS` manually in an extra commit then.
|
210 | 210 |
|
|
219 | 219 |
|
220 | 220 | 6. Check `./sapi/cli/php -v` output for version matching.
|
221 | 221 |
|
222 |
| - 7. Tag the repository with the version f.e. `git tag -u YOURKEYID php-7.4.1` |
| 222 | + 7. Tag the repository with the version e.g. `git tag -u YOURKEYID php-7.4.1` |
223 | 223 |
|
224 |
| - 8. Push the tag f.e. `git push origin php-7.4.1`. |
| 224 | + 8. Push the tag e.g. `git push origin php-7.4.1`. |
225 | 225 |
|
226 | 226 | 9. Run: `./scripts/dev/makedist php-7.4.1`, this will export the tag,
|
227 | 227 | create configure and build three tarballs (gz, bz2 and xz). Check if the
|
|
289 | 289 |
|
290 | 290 | 5. Update the ChangeLog file for the given major version
|
291 | 291 |
|
292 |
| - f.e. `ChangeLog-7.php` from the `NEWS` file |
| 292 | + e.g. `ChangeLog-7.php` from the `NEWS` file |
293 | 293 |
|
294 | 294 | * Go over the list and put every element on one line.
|
295 | 295 | * Check for `&`, `<` and `>` and escape them if necessary.
|
|
319 | 319 |
|
320 | 320 | 8. **Check website has been synced before announcing or pushing news**
|
321 | 321 |
|
322 |
| - Try, f.e. https://www.php.net/distributions/php-7.4.0.tar.xz |
| 322 | + Try, e.g. https://www.php.net/distributions/php-7.4.0.tar.xz |
323 | 323 |
|
324 | 324 | Website may update slowly (may take an hour).
|
325 | 325 |
|
|
0 commit comments