1Dist::Zilla::Plugin::NeUxsteRrelCeoanster(i3b)uted PerlDDiosctu:m:eZnitlaltai:o:nPlugin::NextRelease(3)
2
3
4
6 Dist::Zilla::Plugin::NextRelease - update the next release number in
7 your changelog
8
10 version 4.300002
11
13 In your dist.ini:
14
15 [NextRelease]
16
17 In your Changes file:
18
19 {{$NEXT}}
20
22 Tired of having to update your Changes file by hand with the new
23 version and release date / time each time you release your
24 distribution? Well, this plugin is for you.
25
26 Add this plugin to your dist.ini, and the following to your Changes
27 file:
28
29 {{$NEXT}}
30
31 The "NextRelease" plugin will then do 2 things:
32
33 · At build time, this special marker will be replaced with the
34 version and the build date, to form a standard changelog header.
35 This will be done to the in-memory file - the original Changes file
36 won't be updated.
37
38 · After release (when running "dzil release"), since the version and
39 build date are now part of your dist's history, the real Changes
40 file (not the in-memory one) will be updated with this piece of
41 information.
42
43 The module accepts the following options in its dist.ini section:
44
45 filename
46 the name of your changelog file; defaults to Changes
47
48 update_filename
49 the file to which to write an updated changelog to; defaults to the
50 "filename"
51
52 format
53 sprintf-like string used to compute the next value of "{{$NEXT}}";
54 defaults to "%-9v %{yyyy-MM-dd HH:mm:ss VVVV}d"
55
56 time_zone
57 the timezone to use when generating the date; defaults to local
58
59 The module allows the following sprintf-like format codes in the
60 format:
61
62 · v - the version of the dist
63
64 · d - the CLDR format for DateTime
65
66 · n - a newline
67
68 · t - a tab
69
71 Ricardo SIGNES <rjbs@cpan.org>
72
74 This software is copyright (c) 2011 by Ricardo SIGNES.
75
76 This is free software; you can redistribute it and/or modify it under
77 the same terms as the Perl 5 programming language system itself.
78
79
80
81perl v5.12.4 2011-09-22Dist::Zilla::Plugin::NextRelease(3)