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.017
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

SEE ALSO

38       Core Dist::Zilla plugins: PkgVersion, PodVersion, NextRelease.
39
40       Dist::Zilla roles: VersionProvider, TextTemplate.
41

AUTHOR

43       Ricardo SIGNES 😏 <rjbs@cpan.org>
44
46       This software is copyright (c) 2020 by Ricardo SIGNES.
47
48       This is free software; you can redistribute it and/or modify it under
49       the same terms as the Perl 5 programming language system itself.
50
51
52
53perl v5.32.0                      2020-11-03Dist::Zilla::Plugin::AutoVersion(3)
Impressum