flex icon indicating copy to clipboard operation
flex copied to clipboard

Running a recipe on dev-master branch generates a version of 9999999.9999999 in lock file

Open pullthefuse opened this issue 3 years ago • 4 comments
trafficstars

When installing a package it sets the version correctly as "dev-master" but after running the recipe it changes the version to "9999999.9999999" which then throws an error on a cache:clear.

"thedrum-developers/production-bundle": {
        "version": "9999999.9999999",
        "recipe": {
            "repo": "gitlab.com/thedrum-developers/recipes",
            "branch": "master",
            "version": "dev-master",
            "ref": "091baa18e93cc037058429db21ce6b3d7dc82ca4"
        },
        "files": [
            "config/packages/prod/the_drum_production.yaml"
        ]
    }

I am using private repositories so I am setting the repository in composer.json as below and then running composer require thedrum-developers/production-bundle:dev-master This installs the bundle correctly.

{
    "type": "vcs",
    "url": "[email protected]:thedrum-developers/production-bundle.git"
}

After running the recipes:install thedrum-developers/production-bundle the issue appears.

pullthefuse avatar Apr 03 '22 14:04 pullthefuse

Which error? Are you able to reproduce with only public recipes + public repo? If yes, can you share a reproducer?

nicolas-grekas avatar May 01 '22 10:05 nicolas-grekas