1Dist::Zilla::Plugin::AuUtsoeVrerCsoinotnr(i3b)uted PerlDDiosctu:m:eZnitlaltai:o:nPlugin::AutoVersion(3)
2
3
4

NAME

6       Dist::Zilla::Plugin::AutoVersion - take care of numbering versions so
7       you don't have to
8

VERSION

10       version 4.300002
11

DESCRIPTION

13       This plugin automatically produces a version string, generally based on
14       the current time.  By default, it will be in the format: 1.yyDDDn
15

ATTRIBUTES

17   major
18       The "major" attribute is just an integer that is meant to store the
19       major version number.  If no value is specified in configuration, it
20       will default to 1.
21
22       This attribute's value can be referred to in the autoversion format
23       template.
24
25   format
26       The format is a Text::Template string that will be rendered to form the
27       version.  It is meant to access to one variable, $major, and one
28       subroutine, "cldr", which will format the current time (in GMT) using
29       CLDR patterns (for which consult the DateTime documentation).
30
31       The default value is:
32
33         {{ $major }}.{{ cldr('yyDDD') }}
34         {{ sprintf('%01u', ($ENV{N} || 0)) }}
35         {{$ENV{DEV} ? (sprintf '_%03u', $ENV{DEV}) : ''}}
36

AUTHOR

38       Ricardo SIGNES <rjbs@cpan.org>
39
41       This software is copyright (c) 2011 by Ricardo SIGNES.
42
43       This is free software; you can redistribute it and/or modify it under
44       the same terms as the Perl 5 programming language system itself.
45
46
47
48perl v5.12.4                      2011-09-22Dist::Zilla::Plugin::AutoVersion(3)
Impressum