marcocesarato / php-conventional-changelog

A PHP tool built to generate a changelog from a project's commit messages and metadata following the conventionalcommits.org and automate versioning with semver.org.
GNU General Public License v3.0
227 stars 32 forks source link

fix: Remove negated hyphen from tag-filtering regex to find alpha/beta tags #51

Closed adambalint-srg closed 1 year ago

adambalint-srg commented 1 year ago

This fix is to resolve issue #48

The fixed regex pattern filters out branches which contains -, like v1.1.0-alpha.1 Because of this filtering the generated changelog doesn't contains the changes from the previous alpha/beta tag to the current.

marcocesarato commented 1 year ago

Hi, I need to test it more, that check was useful to retrieve the first tag without any extra part, to check on the following condition with a specific extra part, so removing it could break other cases. I'm considering writing some unit tests for it.

marcocesarato commented 1 year ago

See #48