Dist::Zilla::Role::Author::YANICK::Changelog - provides an accessor for the changelog
version 0.2.1
package Dist::Zilla::Plugin::Foo; use Moose; qith qw/ Dist::Zilla::Role::Plugin Dist::Zilla::Role::FileMunger /; with 'Dist::Zilla::Role::Author::YANICK::RequireZillaRole' => { roles => [ qw/ Author::YANICK::Changelog / ], }; sub munge_files { my $self = shift; my $changes = $self->changes; ... $self->save_changelog( $changes ); }
Allows to access directly the distribution's changelog.
The name of the changelog file. Defaults to Changes.
Changes
Returns the changelog file object.
Returns a CPAN::Changes object representing the changelog.
Commit $changes as the changelog file for the distribution.
Yanick Champoux <yanick@babyl.dyndns.org>
This software is copyright (c) 2012 by Yanick Champoux.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dist::Zilla::Plugin::ChangeStats::Git, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::ChangeStats::Git
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::ChangeStats::Git
For more information on module installation, please visit the detailed CPAN module installation guide.