Markus Benning > Dist-Zilla-Plugin-Subversion-NextVersion-1.002 > Dist::Zilla::Plugin::Subversion::NextVersion

Download:
Dist-Zilla-Plugin-Subversion-NextVersion-1.002.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: Dist-Zilla-Plugin-Subversion-NextVersion-1.003

NAME ^

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

VERSION ^

version 1.000

SYNOPSIS ^

In your dist.ini:

    [Subversion::NextVersion]
    tag_folder = '^/<your-dist-name>/tags/' ; this is the default
    first_version = 0.001       ; this is the default
    version_regexp  = ^(.+)$   ; this is the default

DESCRIPTION ^

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

In addition, when making a release, it ensures that the version being released has not already been tagged.

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 ^

Markus Benning

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Markus Benning

It is based on Dist::Zilla::Plugin::Git::NextVersion which is copyright (c) 2009 by Jerome Quelin.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: