|
91 | 91 | 5. Bump the version numbers in `main/php_version.h`, `Zend/zend.h`, |
92 | 92 | `configure.ac` and possibly `NEWS`. Do not use abbreviations for alpha and |
93 | 93 | beta. Do not use dashes, you should `#define PHP_VERSION "7.4.22RC1"` and |
94 | | - not `#define PHP_VERSION "7.4.22-RC1"` |
| 94 | + not `#define PHP_VERSION "7.4.22-RC1"`. |
| 95 | + |
| 96 | + When releasing the first alpha version, bump also API version numbers in |
| 97 | + `Zend/zend_extensions.h`, `Zend/zend_modules.h`, and `main/php.h`. The API |
| 98 | + versions between the alpha/beta/.0RCx releases can be left the same or |
| 99 | + bumped as little as possible because PHP extensions will need to be rebuilt |
| 100 | + with each bump. |
95 | 101 |
|
96 | 102 | 6. Compile and run `make test`, with and without ZTS, using the right Bison and |
97 | 103 | re2c version (for PHP 7.4, minimum Bison 3.0.0 and re2c 0.13.4 are used). |
|
118 | 124 | changes to the main branch. |
119 | 125 |
|
120 | 126 | 11. Push the changes to the main repo, the tag, the main branch and the release |
121 | | - branch. Release branches for alpha/beta/.0RCx releases before to GA release |
| 127 | + branch. Release branches for alpha/beta/.0RCx releases before the GA release |
122 | 128 | don't need to be pushed (a local temporary branch should be used). |
123 | 129 |
|
124 | 130 | ```sh |
|
378 | 384 | Add a commit on master after the branch point clearing the `NEWS`, |
379 | 385 | `UPGRADING` and `UPGRADING.INTERNALS` files, updating the version in |
380 | 386 | `configure.ac` (run `./configure` to automatically update |
381 | | - `main/php_versions.h`, too) and `Zend/zend.h`. Also list the new branch in |
382 | | - `CONTRIBUTING.md`. |
| 387 | + `main/php_versions.h`, too) and `Zend/zend.h`. Bump the default initial |
| 388 | + version also in `win32/build/confutils.js`. |
| 389 | +
|
| 390 | + Also list the new branch in `CONTRIBUTING.md`. |
| 391 | +
|
| 392 | + Bump API version numbers in `Zend/zend_extensions.h`, `Zend/zend_modules.h`, |
| 393 | + and `main/php.h`. |
383 | 394 |
|
384 | 395 | Example: https://git.php.net/?p=php-src.git;a=commit;h=a63c99b |
385 | 396 | Push the new branch and the commit just added to master. |
|
0 commit comments