Skip to content

multiple lightweight tag on the same commit #40

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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