com php-src: Fix version.inc update notes: README.RELEASE_P ROCESS
| From: | Christoph Michael Becker | Date: | Thu, 31 Jan 2019 15:12:50 +0000 |
| Subject: | com php-src: Fix version.inc update notes: README.RELEASE_P ROCESS | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-104416@lists.php.net to get a copy of this message | ||
Commit: a851f16b2b0b21fe84116bf4c71cea4312ade0ce
Author: Christoph M. Becker <cmbecker69@gmx.de> Thu, 31 Jan 2019 16:12:50 +0100
Parents: aad39879f2d2e89de105c4f87d334ee129b4321c
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a851f16b2b0b21fe84116bf4c71cea4312ade0ce
Log:
Fix version.inc update notes
Changed paths:
M README.RELEASE_PROCESS
Diff:
diff --git a/README.RELEASE_PROCESS b/README.RELEASE_PROCESS
index cff4686..cca27be 100644
--- a/README.RELEASE_PROCESS
+++ b/README.RELEASE_PROCESS
@@ -118,11 +118,11 @@ Getting the non stable release (alpha/beta/RC) announced
Note: Remember to update the sha256 checksum information.
-2. Update `
web/php.git/include/version.inc` (x=major version number)
+2. Update `web/php.git/include/version.inc` (X_Y=major_minor version number)
- a. `$PHP_x_RC` = "5.4.0RC1" (should be set to "false" before)
+ a. `$PHP_X_Y_RC` = "5.4.0RC1" (should be set to "false" before)
- b. `$PHP_x_RC_DATE` = "06 September 2007"
+ b. `$PHP_X_Y_RC_DATE` = "06 September 2007"
3. Skip this step for non stable releases after GA of minor or major versions
(e.g. announce 7.3.0RC1, but not 7.3.1RC1):
@@ -224,19 +224,22 @@ Getting the stable release announced
b. If that fails for any non-trivially fixable reason, you can
manually copy the old information to include/releases.inc
-2.. Edit `phpweb/include/version.inc` and change (X=major release number):
+2. Update `phpweb/include/version.inc` (X_Y=major_minor release number):
- a. `$PHP_X_VERSION` to the correct version
+ a. `$PHP_X_Y_VERSION` to the correct version
- b. `$PHP_X_DATE` to the release date
+ b. `$PHP_X_Y_DATE` to the release date
- c. `$PHP_X_SHA256` array and update all the SHA256 sums
+ c. `$PHP_X_Y_SHA256` array and update all the SHA256 sums
- d. set `$PHP_X_RC` to false!
+ d. set `$PHP_X_Y_RC` to false!
e. Make sure there are no outdated "notes" or edited "date" keys in the
`$RELEASES[X][$PHP_X_VERSION]["source"]` array
+ f. Only for the first revision of a major or minor release bump
+ `$PHP_X_VERSION, $PHP_X_DATE and
$PHP_X_RC_DATE`.
+
3. Create the release file (releases/x_y_z.php)
Usually we use the same content as for point 6, but included in php template
instead of the release xml.
@@ -295,15 +298,15 @@ Re-releasing the same version (or -pl)
1. Commit the new binaries to `phpweb/distributions/`
-2. Edit `phpweb/include/version.inc` and change (X=major release number):
+2. Update `phpweb/include/version.inc` (X_Y=major_minor release number):
a. If only releasing for one OS, make sure you edit only those variables
- b. `$PHP_X_VERSION` to the correct version
+ b. `$PHP_X_Y_VERSION` to the correct version
- c. `$PHP_X_DATE` to the release date
+ c. `$PHP_X_Y_DATE` to the release date
- d. `$PHP_X_SHA256` array and update all the SHA256 sums
+ d. `$PHP_X_Y_SHA256` array and update all the SHA256 sums
e. Make sure there are no outdated "notes" or edited "date" keys in the
`$RELEASES[X][$PHP_X_VERSION]["source"]` array