From a200b3b2327a1f99da4647a873ab1aff2b445f00 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Wed, 24 Jul 2019 01:01:11 +0200 Subject: [PATCH] Mention also API versions bumps --- docs/release-process.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/docs/release-process.md b/docs/release-process.md index 4de1950f63330..0c485af80eb06 100644 --- a/docs/release-process.md +++ b/docs/release-process.md @@ -91,7 +91,12 @@ 5. Bump the version numbers in `main/php_version.h`, `Zend/zend.h`, `configure.ac` and possibly `NEWS`. Do not use abbreviations for alpha and beta. Do not use dashes, you should `#define PHP_VERSION "7.4.22RC1"` and - not `#define PHP_VERSION "7.4.22-RC1"` + not `#define PHP_VERSION "7.4.22-RC1"`. + + When releasing first alpha version, bump also API version numbers in + `Zend/zend_extensions.h`, `Zend/zend_modules.h`, and `main/php.h`. The API + versions can stay the same for the alpha/beta/.0RCx and the final GA + release. 6. Compile and run `make test`, with and without ZTS, using the right Bison and re2c version (for PHP 7.4, minimum Bison 3.0.0 and re2c 0.13.4 are used). @@ -118,7 +123,7 @@ changes to the main branch. 11. Push the changes to the main repo, the tag, the main branch and the release - branch. Release branches for alpha/beta/.0RCx releases before to GA release + branch. Release branches for alpha/beta/.0RCx releases before the GA release don't need to be pushed (a local temporary branch should be used). ```sh @@ -378,8 +383,13 @@ Add a commit on master after the branch point clearing the `NEWS`, `UPGRADING` and `UPGRADING.INTERNALS` files, updating the version in `configure.ac` (run `./configure` to automatically update - `main/php_versions.h`, too) and `Zend/zend.h`. Also list the new branch in - `CONTRIBUTING.md`. + `main/php_versions.h`, too) and `Zend/zend.h`. Bump the default initial + version also in `win32/build/confutils.js`. + + Also list the new branch in `CONTRIBUTING.md`. + + Bump API version numbers in `Zend/zend_extensions.h`, `Zend/zend_modules.h`, + and `main/php.h`. Example: https://git.php.net/?p=php-src.git;a=commit;h=a63c99b Push the new branch and the commit just added to master.