Subject: | [Git::NextVersion] should accept the tag_format config from [@Git] |
[Git::NextVersion]'s documentation says:
C<version_regexp> - regular expression that matches a tag containing a
version. It must capture the version into $1. Defaults to ^v(.+)$
which
matches the default C<tag_format> from L<Dist::Zilla::Plugin::Git::Tag>.
If you change C<tag_format>, you B<must> set a corresponsing
C<version_regexp>.
If one is using the entire bundle, [@Git], the config "tag_format" from
[Git::Tag] is also visible to [Git::NextVerion]. In this case, it is
possible
to automatically populate version_regexp, without getting it wrong (or
having
to set it explicitly).