Skip to content
Snippets Groups Projects
Commit 9d19f56c authored by Fran Garcia-Linares's avatar Fran Garcia-Linares
Browse files

Merge branch '3405382-min-stability-in-next-versions' into 'main'

Force min stability.

See merge request !230
parents 05b178f0 ea2510f0
Branches
No related tags found
No related merge requests found
Pipeline #208825 passed with warnings
Pipeline: decoupled_pages

#208826

    ......@@ -390,6 +390,7 @@ composer (next minor):
    variables:
    DRUPAL_CORE: $CORE_NEXT_MINOR
    IGNORE_PROJECT_DRUPAL_CORE_VERSION: 1
    FORCE_MINIMUM_STABILITY: "dev"
    composer (next major):
    extends: .composer-base
    ......@@ -400,6 +401,7 @@ composer (next major):
    PHP_VERSION: $CORE_PHP_MAX
    DRUPAL_CORE: $CORE_MAJOR_DEVELOPMENT
    IGNORE_PROJECT_DRUPAL_CORE_VERSION: 1
    FORCE_MINIMUM_STABILITY: "dev"
    pages:
    stage: build
    ......
    ......@@ -11,9 +11,13 @@ if (empty($project_name)) {
    throw new RuntimeException('Unable to determine project name.');
    }
    $ignore_project_core_version = (bool) getenv('IGNORE_PROJECT_DRUPAL_CORE_VERSION');
    $force_minimum_stability = getenv('FORCE_MINIMUM_STABILITY');
    $path = 'composer.json';
    $json_project = json_decode(file_get_contents($path), TRUE);
    if (!empty($force_minimum_stability)) {
    $json_project['minimum-stability'] = $force_minimum_stability;
    }
    $json_default = default_json($project_name);
    if (
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment