From 2c0dc058bc08db06378b3aada62e08f54a915337 Mon Sep 17 00:00:00 2001 From: Kevin Wenger Date: Mon, 8 Apr 2024 13:13:29 +0200 Subject: [PATCH] upgrade Drush from 12 -> 13 for Drupal 11 --- 11/11.0/Dockerfile | 2 +- 11/11.0/tests/config.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/11/11.0/Dockerfile b/11/11.0/Dockerfile index 6bdd69a..69311c7 100644 --- a/11/11.0/Dockerfile +++ b/11/11.0/Dockerfile @@ -31,7 +31,7 @@ RUN composer config --no-interaction allow-plugins true # Install Drush. # Drush will be heavily use to setup a working Drupal environment. -RUN COMPOSER_MEMORY_LIMIT=-1 composer require drush/drush:^12.0 +RUN COMPOSER_MEMORY_LIMIT=-1 composer require drush/drush:^13.0 # Prepare for Drupal 11.0 upgrade. # @see https://www.drupal.org/docs/upgrading-drupal/upgrading-from-drupal-8-to-drupal-9-or-higher diff --git a/11/11.0/tests/config.yaml b/11/11.0/tests/config.yaml index 8b7fd33..db549cd 100644 --- a/11/11.0/tests/config.yaml +++ b/11/11.0/tests/config.yaml @@ -25,7 +25,7 @@ commandTests: - name: 'Drush version' command: 'drush' args: ['status'] - expectedOutput: ['Drush version\s+:\s+12\.\d\.\d'] + expectedOutput: ['Drush version\s+:\s+13\.0[\-alpha\d|\-beta\d|\-dev|\-rc\d|\d*]'] - name: 'PHPUnit location' command: 'which' args: ['phpunit']