Dist::Zilla::Plugin::Git::NextVersion - provide a version number by bumping the last git release tag


Dist-Zilla-Plugin-Git documentation  | view source Contained in the Dist-Zilla-Plugin-Git distribution.

Index


NAME

Top

Dist::Zilla::Plugin::Git::NextVersion - provide a version number by bumping the last git release tag

VERSION

Top

version 1.111590

SYNOPSIS

Top

In your dist.ini:

    [Git::NextVersion]
    first_version = 0.001       ; this is the default
    version_regexp  = ^v(.+)$   ; this is the default

DESCRIPTION

Top

This does the Dist::Zilla::Role::VersionProvider role. It finds the last version number from your git tags, increments it using Version::Next, and uses the result as the version parameter for your distribution.

The plugin accepts the following options:

You can also set the V environment variable to override the new version. This is useful if you need to bump to a specific version. For example, if the last tag is 0.005 and you want to jump to 1.000 you can set V = 1.000.

  $ V=1.000 dzil release

AUTHOR

Top

Jerome Quelin

COPYRIGHT AND LICENSE

Top


Dist-Zilla-Plugin-Git documentation  | view source Contained in the Dist-Zilla-Plugin-Git distribution.