I am trying to update via Composer following what reported in Update core via Composer, but when I do composer update drupal/core --with-dependencies
, I get the following output.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
I checked /admin/report/updates, and I can see that Drupal 8.5 is available. The content of composer.json is the following.
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
}
]
Why isn't Composer updating core?
composer.json
'srequire
section to the question. (Should look like e.g."drupal/core": "^8.5"
) - You may as well check out this question/answer first: drupal.stackexchange.com/questions/167922/…