1Dist::Zilla::Plugin::ChUescekrChCaonngtersiDHbiaussttCe:od:nZtPieelnrltla(:3D:)oPcluumgeinnt:a:tCihoenckChangesHasContent(3)
2
3
4

NAME

6       Dist::Zilla::Plugin::CheckChangesHasContent - Ensure Changes has
7       content before releasing
8

VERSION

10       version 0.011
11

SYNOPSIS

13         # in dist.ini
14
15         [CheckChangesHasContent]
16

DESCRIPTION

18       This is a "before release" Dist::Zilla plugin that ensures that your
19       Changes file actually has some content since the last release.  If it
20       doesn't find any, it will abort the release process.
21
22       This can be contrasted to Dist::Zilla::Plugin::Test::ChangesHasContent,
23       which generates a test to perform the check.
24
25       The algorithm is very naive.  It looks for an unindented line starting
26       with the version to be released.  It then looks for any text from that
27       line until the next unindented line (or the end of the file), ignoring
28       whitespace.
29
30       For example, in the file below, algorithm will find "- blah blah blah":
31
32         Changes file for Foo-Bar
33
34         {{$NEXT}}
35
36           - blah blah blah
37
38         0.001  Wed May 12 13:49:13 EDT 2010
39
40           - the first release
41
42       If you had nothing but whitespace between "{{$NEXT}}" and 0.001, the
43       release would be halted.
44
45       If you name your change log something other than "Changes", you can
46       configure the name with the "changelog" argument:
47
48         [CheckChangesHasContent]
49         changelog = ChangeLog
50

SEE ALSO

52       * Dist::Zilla::Plugin::Test::ChangesHasContent * Dist::Zilla
53

SUPPORT

55   Bugs / Feature Requests
56       Please report any bugs or feature requests through the issue tracker at
57       <https://github.com/dagolden/Dist-Zilla-Plugin-CheckChangesHasContent/issues>.
58       You will be notified automatically of any progress on your issue.
59
60   Source Code
61       This is open source software.  The code repository is available for
62       public review and contribution under the terms of the license.
63
64       <https://github.com/dagolden/Dist-Zilla-Plugin-CheckChangesHasContent>
65
66         git clone https://github.com/dagolden/Dist-Zilla-Plugin-CheckChangesHasContent.git
67

AUTHORS

69       ·   David Golden <dagolden@cpan.org>
70
71       ·   Karen Etheridge <ether@cpan.org>
72

CONTRIBUTORS

74       ·   David Golden <xdg@xdg.me>
75
76       ·   Randy Stauner <randy@magnificent-tears.com>
77
79       This software is Copyright (c) 2017 by David Golden.
80
81       This is free software, licensed under:
82
83         The Apache License, Version 2.0, January 2004
84
85
86
87perl v5.28.0                    Di2s0t1:7:-Z1i1l-l2a8::Plugin::CheckChangesHasContent(3)
Impressum