Skip to content

Commit f1c4b48

Browse files
committed
Mention also API versions bumps
Closes GH-4470
1 parent 0e6e229 commit f1c4b48

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

docs/release-process.md

+15-4
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,13 @@
9191
5. Bump the version numbers in `main/php_version.h`, `Zend/zend.h`,
9292
`configure.ac` and possibly `NEWS`. Do not use abbreviations for alpha and
9393
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.
95101

96102
6. Compile and run `make test`, with and without ZTS, using the right Bison and
97103
re2c version (for PHP 7.4, minimum Bison 3.0.0 and re2c 0.13.4 are used).
@@ -118,7 +124,7 @@
118124
changes to the main branch.
119125
120126
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
122128
don't need to be pushed (a local temporary branch should be used).
123129
124130
```sh
@@ -378,8 +384,13 @@
378384
Add a commit on master after the branch point clearing the `NEWS`,
379385
`UPGRADING` and `UPGRADING.INTERNALS` files, updating the version in
380386
`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`.
383394
384395
Example: https://git.php.net/?p=php-src.git;a=commit;h=a63c99b
385396
Push the new branch and the commit just added to master.

0 commit comments

Comments
 (0)