User tests: Successful: Unsuccessful:
Pull Request for Issue # .
package.json must contain a semver versioning number. This PR updates the build\bump.php
script so that the version in the package.json is updated correctly. Currently the version number is static at 4.0.0
also removed the comment about updating the copyright date as we dont do that anymore
Code review
or
php build\bump.php -v 9.9.9
contents of package.json
{
"name": "joomla",
"version": "4.0.0",
"description": "Joomla CMS",
"license": "GPL-2.0-or-later",
{
"name": "joomla",
"version": "9.9.9",
"description": "Joomla CMS",
"license": "GPL-2.0-or-later",
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Category | ⇒ | Repository |
Status | New | ⇒ | Pending |
Or load and write the json with the native PHP json functions.
You can do that also without regex https://stackoverflow.com/a/70034831.
I am aware of that but it makes no sense to do it this way from inside a php script. At the end of the day this is just following the codestyle of all the other actions the file.
Makes sense, but json_encode and json_decode would probably be safer to produce valid JSON.
@brianteeman are you going to change the code to use the json functions from PHP? It is much safer then instead of dealing with regex.
no i am not going to change it. makes no sense to me when everything else in the file is using regex.
Labels |
Added:
bug
PR-4.3-dev
|
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-09-08 11:47:34 |
Closed_By | ⇒ | brianteeman |
You can do that also without regex https://stackoverflow.com/a/70034831. Not sure if you need to regenerate the lock file afterwards as well.