We use Drush to update our Drupal installation and plugins.
Updating the core
Drush discharges all files that aren't in a standard Drupal installation, so after an update, use git checkout to restore previous version of our files:
- script/backup.sh
- script/scrub.sql
- script/sql_scrub_dump.sh
- composer.json
- composer.lock
- composer.phar
- humans.txt
After the update of the core, tag the commit with number of the release, and push also the tag
Updating plugins
Do a separate commit for every plugin
Use drush
Enter in the root of the www-test repo and use:
drush up