|
278 | 278 | * If that fails for any non-trivially fixable reason, you can manually copy
|
279 | 279 | the old information to `include/releases.inc`.
|
280 | 280 |
|
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'): |
282 | 283 |
|
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 |
290 | 288 |
|
291 | 289 | 3. Create the release file (`releases/x_y_z.php`):
|
292 | 290 |
|
|
357 | 355 |
|
358 | 356 | 1. Commit the new binaries to `phpweb/distributions/`
|
359 | 357 |
|
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'): |
361 | 360 |
|
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 |
368 | 365 |
|
369 | 366 | 3. Add a short notice to phpweb stating that there is a new release, and
|
370 | 367 | highlight the major important things (security fixes) and when it is
|
|
0 commit comments