Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix drush installation task #577

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

doman18
Copy link

@doman18 doman18 commented Mar 8, 2024

Update required drush version from 11 to 12 (see: https://www.drupal.org/node/3403057)

Add check for drush binary file existence and replace "when" conditional in drush installation task. This works better with progressive playbook runs (when you run playbook after each change) in which composer json file already exists. Offcourse its still not perfect as it checks only file's existence, without checking it's version. Yet for learning purposes i think its a sufficient compromise between reliability and simplicity.

Update required drush version from 11 to 12 (see: https://www.drupal.org/node/3403057)

Add check for drush binary file existence and replace "when" conditional for drush installation. This works better with progressive playbook runs (when you run them after each change) in which composer json file already exists.
@doman18
Copy link
Author

doman18 commented Mar 8, 2024

Pipeline failed but its seems that not because of my changes.

@geerlingguy
Copy link
Owner

Thanks and yeah, I need to fix up a couple of other issues there. I'll try to loop this into a few other fixes in my next pass on the book, so I can sync the manuscript to this repo.

@brendon-stephens
Copy link

Thankyou for the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants