| Dist-Zilla documentation | Contained in the Dist-Zilla distribution. |
Dist::Zilla::App::Command::release - release your dist to the CPAN
version 4.200008
dzil release dzil release --trial
This command is a very, very thin wrapper around the
release method on the Dist::Zilla object. It will
build, archive, and release your distribution using your Releaser plugins. The
only option, --trial, will cause it to build a trial build.
Ricardo SIGNES <rjbs@cpan.org>
This software is copyright (c) 2011 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| Dist-Zilla documentation | Contained in the Dist-Zilla distribution. |
use strict; use warnings; package Dist::Zilla::App::Command::release; BEGIN { $Dist::Zilla::App::Command::release::VERSION = '4.200008'; } # ABSTRACT: release your dist to the CPAN use Dist::Zilla::App -command; sub abstract { 'release your dist' } sub opt_spec { [ 'trial' => 'build a trial release that PAUSE will not index' ], } sub execute { my ($self, $opt, $arg) = @_; my $zilla = $self->zilla; $zilla->is_trial(1) if $opt->trial; $self->zilla->release; } 1; __END__