The Perl Toolchain Summit 2025 Needs You: You can help 🙏 Learn more

NAME

Dist::Zilla::Plugin::Code::BeforeRelease - something that runs before release really begins

VERSION

Version 0.008

SYNOPSIS

Dist::Zilla::Role::PluginBundle

use Moose;
sub bundle_config {
my ( $class, $section ) = @_;
my @plugins;
push @plugins, [
'SomeUniqueName',
'Dist::Zilla::Plugin::Code::BeforeRelease',
{
before_release => sub {
my ($self) = @_;
$self->log('Hello world');
},
},
];
return @plugins;
}

Dist::Zilla::Role::PluginBundle::Easy

use Moose;
sub configure {
my ( $self ) = @_;
$self->add_plugins([
'Code::BeforeRelease',
{
before_release => sub {
my ($self) = @_;
$self->log('Hello world');
},
},
]);
return;
}

DESCRIPTION

This plugin implements the Dist::Zilla::Role::BeforeRelease role.

SUPPORT

Bugs / Feature Requests

Please report any bugs or feature requests through the issue tracker at https://github.com/skirmess/Dist-Zilla-Plugin-Code/issues. You will be notified automatically of any progress on your issue.

Source Code

This is open source software. The code repository is available for public review and contribution under the terms of the license.

https://github.com/skirmess/Dist-Zilla-Plugin-Code

AUTHOR

Sven Kirmess <sven.kirmess@kzone.ch>

SEE ALSO

Dist::Zilla, Dist::Zilla::Role::BeforeRelease