"minimum-stability" different to "dev" value declared in contrib project composer.json file fails composer job

Migrated issue

Reported by: voleger

Related to !230 (merged)

Problem/Motivation

I have a project which declares minimum stability for the package. Once I switch the project to the Gitlab-CI template, it fails on new PRs.
Once I did change, which removes the minimum-stability declaration from the composer.json file, the build job was completed successfully.

Steps to reproduce

Add

"minimum-stability": "stable",

in composer.json file.

Proposed resolution

Override value if the key is present in the composer.json file and differs from the "dev" value.

Remaining tasks

add changes in scripts/expand_composer_json.php

User interface changes

-

API changes

-

Data model changes

-

Assignee Loading
Time tracking Loading