In practice it's as simple as doing a composer update
for the most part - assuming you're configured "sensibly" - the RoundEarth setup makes (or at least made!) some assumptions re: versioning that are not helpful for upgrading. So here goes:
You should declare both civicrm-core
and civicrm-drupal-8
in your composer json file. In the require section you should have something that looks like this:
"civicrm/civicrm-core": "^5.23",
"civicrm/civicrm-drupal-8": "^5.23"
Note: When upgrading to a new "minor" release of CiviCRM you should change your version constraints e.g. "^5.24"
or to automatically get the latest CiviCRM stable version when you run composer update
use "^5"
as your version constraint.
You should have the same version against both of these (^5.23 as an example.)
You should install CV to manage database upgrades so that your upgrade process becomes the following commands (for the most part!):
composer update && cv up:db
When using a composer-based workflow you can install CV using composer require civicrm/cv
which will place the cv binary in vendor/bin
Note that using the dev-master
version of civicrm-drupal-8
has the potential to cause issues as it's developed alongside civicrm-core
- you should use the same version number as you use for civicrm-core
.