We realized that our Drupal core version is outdated by two versions. We are currently running 8.5.3, but 8.5.5 has been released. Rather than updating directly two versions, we wanted to upgrade from 8.5.3 to 8.5.4 and then eventually from 8.5.4 to 8.5.5.
We tried the following but it didn't get updated.
composer update drupal/core:8.5.4 --with-dependencies
Message after running composer command
Nothing to install or update
I ran this command in the directory outside of docroot in C:\users\name\Sites\mysite\
which has the following folders
- .git
- config
- docroot
- drush
- hooks
- vendor
I also ran composer why-not drupal/core:8.5.4
and had the following message returned.
There is no installed package depending on "drupal/core" in versions not matching 8.5.4
composer why-not drupal/core:8.5.4
?composer.json
file and it has"drupal/core": "^8.4"
under require.