1Dist::Zilla::Role::Git:U:sSetrriCnognFtorrimbauttteDedirs(Pt3e:)r:lZiDlolcau:m:eRnotlaet:i:oGnit::StringFormatter(3)
2
3
4
6 Dist::Zilla::Role::Git::StringFormatter - Provide a String::Formatter
7 for commit messages
8
10 version 2.048
11
13 This role is used within the Git plugins to format strings that may
14 include the changes from the current release.
15
16 These formatting codes are available:
17
18 %c The list of changes in the just-released version (read from
19 "changelog"). It will include lines between the current version
20 and timestamp and the next non-indented line, except that blank
21 lines at the beginning or end are removed. It always ends in a
22 newline unless it is the empty string.
23
24 "%{dd-MMM-yyyy}d"
25 The current date. You can use any CLDR format supported by
26 DateTime. A bare %d means "%{dd-MMM-yyyy}d".
27
28 %n a newline
29
30 %N the distribution name
31
32 "%{-TRIAL}t"
33 Expands to -TRIAL (or any other supplied string) if this is a trial
34 release, or the empty string if not. A bare %t means "%{-TRIAL}t".
35
36 %v the distribution version
37
38 %V The distribution version, but with a leading "v" removed if it
39 exists.
40
42 changelog
43 The filename of your Changes file. (Must be provided by the class that
44 consumes this role.)
45
46 time_zone
47 The time zone used with the %d code. The default is "local".
48
50 Bugs may be submitted through the RT bug tracker
51 <https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-
52 Git> (or bug-Dist-Zilla-Plugin-Git@rt.cpan.org <mailto:bug-Dist-Zilla-
53 Plugin-Git@rt.cpan.org>).
54
55 There is also a mailing list available for users of this distribution,
56 at <http://dzil.org/#mailing-list>.
57
58 There is also an irc channel available for users of this distribution,
59 at "#distzilla" on "irc.perl.org" <irc://irc.perl.org/#distzilla>.
60
62 Jerome Quelin
63
65 This software is copyright (c) 2009 by Jerome Quelin.
66
67 This is free software; you can redistribute it and/or modify it under
68 the same terms as the Perl 5 programming language system itself.
69
70
71
72perl v5.36.0 202D3i-s0t1:-:2Z0illa::Role::Git::StringFormatter(3)