Skip to content

multiple lightweight tag on the same commit #40

@weimingzha0

Description

@weimingzha0

When multiple lightweight tags are applied to the same commit, it chooses the first one. Usually, we prefer to return the "latest" tag (largest version number)

To reproduce:

git tag 1.1.0
git tag 1.2.0
git-semver

it returns 1.1.0, but 1.2.0 is preferred

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions