Closed seanhamlin closed 7 months ago
Executing the task Drush cache-clear on a Drupal 10.1.0+ site using Drush 12 (recommended version now) yields an error. The issue is to do with the first line
Drush cache-clear
drush status drupal-version --format=list
This no longer works in Drush 12.
Steps to reproduce the behavior:
Task succeeds.
There is a gist of a working script to address this https://gist.github.com/seanhamlin/11927cf1f57e4f6b7bd810bd560ab7f7
Tested on Drupal 7.94 (drush 8) and Drupal 10.1.6 (drush 12)
Describe the bug
Executing the task
Drush cache-clear
on a Drupal 10.1.0+ site using Drush 12 (recommended version now) yields an error. The issue is to do with the first linedrush status drupal-version --format=list
This no longer works in Drush 12.
To Reproduce
Steps to reproduce the behavior:
Drush cache-clear
Expected behavior
Task succeeds.
There is a gist of a working script to address this https://gist.github.com/seanhamlin/11927cf1f57e4f6b7bd810bd560ab7f7
Tested on Drupal 7.94 (drush 8) and Drupal 10.1.6 (drush 12)