Advertisement
Guest User

Untitled

a guest
Sep 6th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. # How to use
  2. # drupal update:core:84 --directory=/path/to/site
  3. command:
  4. name: update:core:84
  5. description: 'Update DruapalCore fix drush issues.'
  6. vars:
  7. drupal: 8.4.0-beta1
  8. drush: 9.0.0-beta4
  9. commands:
  10. # - command: exec
  11. # arguments:
  12. # bin: drupal site:new --repository=drupal-composer/drupal-project:8.x-dev --directory=%{{directory}}
  13. - command: exec
  14. arguments:
  15. bin: composer remove drush/drush --working-dir=%{{directory}}
  16. - command: exec
  17. arguments:
  18. bin: composer require drush/drush:%{{drush}} --no-update --working-dir=%{{directory}}
  19. # - command: exec
  20. # arguments:
  21. # bin: drupal site:install standard --db-user=root --db-pass=root --force --no-interaction --root=%{{directory}}
  22. - command: exec
  23. arguments:
  24. bin: composer require drupal/core:%{{drupal}} --no-update --working-dir=%{{directory}}
  25. - command: exec
  26. arguments:
  27. bin: composer update --working-dir=%{{directory}}
  28. #- command: exec
  29. # arguments:
  30. # bin: drupal upex --root=%{{directory}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement