package App::DuckPAN::Cmd::Release;
our $AUTHORITY = 'cpan:DDG';
# ABSTRACT: Release the distribution of the current directory
$App::DuckPAN::Cmd::Release::VERSION = '0.187';
use MooX;
with qw( App::DuckPAN::Cmd );
use MooX::Options protect_argv => 0;
sub run {
my ( $self ) = @_;
my $ret = system('dzil release');
$self->app->error_msg('Could not begin release. Is Dist::Zilla installed?') if $ret == -1;
return $ret;
}
1;
__END__
=pod
=head1 NAME
App::DuckPAN::Cmd::Release - Release the distribution of the current directory
=head1 VERSION
version 0.187
=head1 AUTHOR
Torsten Raudssus <torsten@raudss.us> L<https://raudss.us/>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by DuckDuckGo, Inc. L<https://duckduckgo.com/>.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut