From b14d1a4c0dd7c7b14d1ec746858b90af8e6499b8 Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Wed, 7 Aug 2024 10:16:36 +1000 Subject: [PATCH] Updated Drupal to use `stable` versions in `composer.json` and CI. --- .github/workflows/ci.yml | 4 +--- composer.json | 10 +++++----- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 276caab5c..1cb83c189 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: matrix: php-versions: ['8.3'] - drupal-release: ['alpha', 'beta', 'dev'] + drupal-release: ['stable', 'beta', 'dev'] composer-channel: ['stable', 'snapshot'] steps: @@ -77,8 +77,6 @@ jobs: composer --verbose require --no-update drupal/core-composer-scaffold:^11@${{ matrix.drupal-release }} composer --verbose require --no-update drupal/core-recommended:^11@${{ matrix.drupal-release }} composer --verbose require --no-update --dev drupal/core-dev:^11@${{ matrix.drupal-release }} - # Remove the line below once the package is out of `alpha`. - [[ ${{ matrix.drupal-release }} == 'beta' ]] && composer require chi-teck/drupal-code-generator:^4@alpha composer --verbose update - name: Install site diff --git a/composer.json b/composer.json index 784988875..5fb3a7221 100644 --- a/composer.json +++ b/composer.json @@ -12,15 +12,15 @@ "require": { "composer/installers": "^2.1", "cweagans/composer-patches": "^1.7", - "drupal/core-composer-scaffold": "^11@alpha", - "drupal/core-recommended": "^11@alpha", - "drush/drush": "^13@beta", + "drupal/core-composer-scaffold": "^11", + "drupal/core-recommended": "^11", + "drush/drush": "^13", "oomphinc/composer-installers-extender": "^2.0", "vlucas/phpdotenv": "^5.1", "webflo/drupal-finder": "^1.3" }, "require-dev": { - "drupal/core-dev": "^11@alpha", + "drupal/core-dev": "^11", "ergebnis/composer-normalize": "^2.42" }, "conflict": { @@ -36,7 +36,7 @@ "url": "https://asset-packagist.org" } ], - "minimum-stability": "alpha", + "minimum-stability": "stable", "prefer-stable": true, "autoload": { "classmap": [