Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # How to use
- # drupal update:core:84 --directory=/path/to/site
- command:
- name: update:core:84
- description: 'Update DruapalCore fix drush issues.'
- vars:
- drupal: 8.4.0-beta1
- drush: 9.0.0-beta4
- commands:
- # - command: exec
- # arguments:
- # bin: drupal site:new --repository=drupal-composer/drupal-project:8.x-dev --directory=%{{directory}}
- - command: exec
- arguments:
- bin: composer remove drush/drush --working-dir=%{{directory}}
- - command: exec
- arguments:
- bin: composer require drush/drush:%{{drush}} --no-update --working-dir=%{{directory}}
- # - command: exec
- # arguments:
- # bin: drupal site:install standard --db-user=root --db-pass=root --force --no-interaction --root=%{{directory}}
- - command: exec
- arguments:
- bin: composer require drupal/core:%{{drupal}} --no-update --working-dir=%{{directory}}
- - command: exec
- arguments:
- bin: composer update --working-dir=%{{directory}}
- #- command: exec
- # arguments:
- # bin: drupal upex --root=%{{directory}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement