Description
Preamble
The current implementation of git-semver-tags
uses git log
to retrieve information about git tags. This works fine for any workflow where one tags the default branch. Other workflows such as version branches, where additional tags are created, are not supported.
Problem
My usecase, version branches, is not fully supported, because tags on commits only live on their corresponding version branch:
tags 1.4.0, 1.4.1, ... live on branch 1.4
tags 1.5.0, 1.5.1, ... live on branch 1.5
The commits never reach the default branch and are therefore missing from the result of git-semver-tags
.
Possible Solution
I have tried to use git tag
instead of git log
here. But to no avail.
There however is a possible solution that involves passing --all
to git-semver-tags
. This solves the issue where git-semver-tags
only finds tags on the current branch.
There should be an option (always optional) for passing additional arguments to git-semver-tags
:
Should i propose a solution?