Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

dep ensure: Incorrect version range syntax interpretation for 0.x versions #363

@djui

Description

@djui

Given a sub 1.y version, e.g. 0.8.z, ^ (caret) currently expands to:

dep ensure 'github.com/pkg/errors@^0.8.0' => "version": ">=0.8.0, <1.0.0"`

But should expand to:

dep ensure 'github.com/pkg/errors@^0.8.0' => "version": ">=0.8.0, <0.9.0"`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions