minver icon indicating copy to clipboard operation
minver copied to clipboard

Tagged version wins even if MinVerMinimumMajorMinor is higher

Open DavidBoike opened this issue 1 year ago • 1 comments

Use case(s)

MinVerMinimumMajorMinor is provided as way to say: future dev work on this branch is for version x.y, rather than patches or minors on the previous version. It seems reasonable for someone to later decide that a commit on the branch is actually a patch or minor on the previous version, and tags the commit as such and expects that version to pop out.

Description

As currently stated by the docs, "If the current commit has a version tag…The version is used as-is", without any mention of the MinVerMinimumMajorMinor. Described as a bug in https://github.com/adamralph/minver/issues/996 but this issue reframes the problem as a (breaking) enhancement.

Alternatives

Leave it as is and change the docs to describe the actual behavior.

Additional context

N/A

DavidBoike avatar Apr 17 '24 14:04 DavidBoike

So tempted to concoct a feature request right this instant :D Except it would be more in the spirit of the project to suggest removing one... Thanks for the amazing work in the last 999 items, Adam!

bartelink avatar Apr 17 '24 15:04 bartelink

@DavidBoike I've released this in 5.1.0-rc.1—please feel free to give it a try.

adamralph avatar Aug 15 '24 12:08 adamralph

re-released as 6.0.0-rc.1 because this is a breaking change

adamralph avatar Aug 15 '24 12:08 adamralph