Skip to content

latest not working on "older" versions #404

@Enrice

Description

@Enrice

say I have a fixed version dependency of

  "managedDependencies": {
    "package1": "1.1.0"
  },
  "autoselect": {
    "versionDiff": [
      "patch"
    ]
  }

in my release git branch.

meanwhile, my develop git branch has moved forward to be using

  "managedDependencies": {
    "package1": "1.2.0"
  },
  "autoselect": {
    "versionDiff": [
      "patch"
    ]
  }

now I had to port back some changes to package1, so it gets a new version "1.1.1".

the problem is:
above execution of "latest" won't find this version in the remote registry (artifactory pro, it's correctly published there). package1 stays "1.1.0" on "latest", the output is as follows:

info lerna-script executing task: "latest"
info latest checking for latest dependencies
info latest
info latest nothing selected, exiting...

what am I doing wrong? is this a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions