Applying Updates¶
Installing a Packaged Release¶
- Use the direct link in the email to download the zip or tar file
- Open it and review any included instructions on the update
- Update the applicable module or theme on your site, following your normal Drupal 7 update process
Installing a Patch¶
- Use the direct link in the email to download the patch file
- Update the applicable module or theme on your site, following Drupal's documentation for applying patches
Updating via Drush¶
To apply updates via Drush, run drush pm-updatecode
:
drush pm-updatecode
Update information last refreshed: Wed, 12/03/2024 - 11:26
Name Installed Version Proposed version Message
Tag1 D7ES Testing (tag1_d7es_testing) 7.x-1.0 7.x-1.1 SECURITY UPDATE available
Security updates will be made to the following projects: Tag1 D7ES Testing [tag1_d7es_testing-7.x-1.1]
Note: A backup of your project will be stored to backups directory if it is not managed by a supported
version control system.
Note: If you have made any modifications to any file that belongs to one of these projects, you will
have to migrate those modifications after updating.
Do you really want to continue with the update process? (y/n): y
Project tag1_d7es_testing was updated successfully. Installed version is now 7.x-1.1.
Backups were saved into the directory /home/myuser/drush-backups/drupal/20241127015450/modules/tag1_d7es_testing.
[ok]
'all' cache was cleared.
[success]
Validating the Update¶
After applying the update, Drupal's Update Status and Drush's pm-updatestatus
command will report the module as secure.