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 6.024
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

PERL VERSION

17       This module should work on any version of perl still receiving updates
18       from the Perl 5 Porters.  This means it should work on any version of
19       perl released in the last two to three years.  (That is, if the most
20       recently released version is v5.40, then this module should work on
21       both v5.40 and v5.38.)
22
23       Although it may work on older versions of perl, no guarantee is made
24       that the minimum required version will not be increased.  The version
25       may be increased for any reason, and there is no promise that patches
26       will be accepted to lower the minimum required perl.
27

ATTRIBUTES

29   major
30       The "major" attribute is just an integer that is meant to store the
31       major version number.  If no value is specified in configuration, it
32       will default to 1.
33
34       This attribute's value can be referred to in the autoversion format
35       template.
36
37   format
38       The format is a Text::Template string that will be rendered to form the
39       version.  It is meant to access to one variable, $major, and one
40       subroutine, "cldr", which will format the current time (in GMT) using
41       CLDR patterns (for which consult the DateTime documentation).
42
43       The default value is:
44
45         {{ $major }}.{{ cldr('yyDDD') }}
46         {{ sprintf('%01u', ($ENV{N} || 0)) }}
47         {{$ENV{DEV} ? (sprintf '_%03u', $ENV{DEV}) : ''}}
48

SEE ALSO

50       Core Dist::Zilla plugins: PkgVersion, PodVersion, NextRelease.
51
52       Dist::Zilla roles: VersionProvider, TextTemplate.
53

AUTHOR

55       Ricardo SIGNES 😏 <rjbs@semiotic.systems>
56
58       This software is copyright (c) 2021 by Ricardo SIGNES.
59
60       This is free software; you can redistribute it and/or modify it under
61       the same terms as the Perl 5 programming language system itself.
62
63
64
65perl v5.34.0                      2022-01-21Dist::Zilla::Plugin::AutoVersion(3)
Impressum