Skip to content

Commit 3d0c905

Browse files
committed
Update instructions regarding web-php/include/version.inc
1 parent e9d5169 commit 3d0c905

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

docs/release-process.md

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -278,15 +278,13 @@
278278
* If that fails for any non-trivially fixable reason, you can manually copy
279279
the old information to `include/releases.inc`.
280280
281-
2. Update `phpweb/include/version.inc` (X_Y=major_minor release number):
281+
2. Update $data['X.Y'] in `phpweb/include/version.inc`
282+
(X.Y=major.minor release, e.g. '8.0'):
282283
283-
* `$PHP_X_Y_VERSION` to the correct version
284-
* `$PHP_X_Y_DATE` to the release date
285-
* `$PHP_X_Y_SHA256` array and update all the SHA256 sums
286-
* `$PHP_X_Y_TAGS` array should include `security` if this is a security
287-
release
288-
* Make sure there are no outdated "notes" or edited "date" keys in the
289-
`$RELEASES[X][$PHP_X_VERSION]["source"]` array.
284+
* `version` to the full version number (e.g. '8.0.1')
285+
* `date` to the release date in `j M Y` format (e.g. '5 Jan 2021')
286+
* `tags` array should include `security` if this is a security release
287+
* `sha256` array and sub-elements for all SHA256 sums
290288
291289
3. Create the release file (`releases/x_y_z.php`):
292290
@@ -357,14 +355,13 @@
357355
358356
1. Commit the new binaries to `phpweb/distributions/`
359357
360-
2. Update `phpweb/include/version.inc` (X_Y=major_minor release number):
358+
2. Update $data['X.Y'] in `phpweb/include/version.inc`
359+
(X.Y=major.minor release, e.g. '8.0'):
361360
362-
* If only releasing for one OS, make sure you edit only those variables.
363-
* `$PHP_X_Y_VERSION` to the correct version
364-
* `$PHP_X_Y_DATE` to the release date
365-
* `$PHP_X_Y_SHA256` array and update all the SHA256 sums
366-
* Make sure there are no outdated "notes" or edited "date" keys in the
367-
`$RELEASES[X][$PHP_X_VERSION]["source"]` array.
361+
* `version` to the full version number (e.g. '8.0.1-pl1')
362+
* `date` to the release date in `j M Y` format (e.g. '9 Jan 2021')
363+
* `tags` array should include `security` if this is a security release
364+
* `sha256` array and sub-elements for all SHA256 sums
368365
369366
3. Add a short notice to phpweb stating that there is a new release, and
370367
highlight the major important things (security fixes) and when it is

0 commit comments

Comments
 (0)