Skip to content

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

Closed
@pullthefuse

Description

@pullthefuse

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": "git@gitlab.com:thedrum-developers/production-bundle.git"
}

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions