stevemao / git-latest-semver-tag

Get the most recent git semver tag of your repository
7 stars 4 forks source link

Only returns tags in the current branch #1

Closed blowsie closed 8 years ago

blowsie commented 8 years ago

Hi @stevemao,

I've been using the excellent conventional-recommended-bump plugin in my project, alongside git flow.

I've discovered an issue with this git-semver-tags command.


By repository description it should do the following

Get the most recent git semver tag of your repository

However, I found what it actually does is;

Get the most recent git semver tag of your repository, for the current branch


This causes an issue when working with git flow, because version tags are created from the release name and tagged onto the master branch.

Release branches are created from the develop branch and the tags are not available.

Should this module look for semver tags across ALL branches?

blowsie commented 8 years ago

Closing whilst investigating something.