Metadrop / scripthor

Swiss knife of scripts for speed up the development on drupal projects.
1 stars 10 forks source link

Update Helper - Do not execute drush commands on not Drupal packages #49

Closed jorgetutor closed 1 year ago

jorgetutor commented 1 year ago

In the update loop there are drush steps (updb, cex) that can be skipped when the package to be updated is not a Drupal one.

We can use the type to detect if is_drupal

command: composer show drupal/metatag | grep type | awk '{print $3}'
output: drupal-module