NAME

Dist::Zilla::Plugin::Author::Plicease::Upload - Upload a dist to CPAN

VERSION

version 2.81

SYNOPSIS

[Author::Plicease::Upload]
cpan = 1

DESCRIPTION

This works similar to Dist::Zilla::Plugin::UploadToCPAN. Except:

Non fatal

It doesn't die if the upload does not succeed. In my work flow I usually just upload the tarball manually when the upload fails. Sometimes I also want to do the release step when I am not connected to the Internet.

Asks first

If cpan is set to a true value, ask first before uploading to CPAN. Sometimes and for some dists I instead commit it to a GitHub pages website for internal use. If cpan is set to a false value or if you deny uploading to CPAN, the dist will be copied into the usual place where the aforementioned GitHub pages repository is checked out (~/www/dist.wdlabs.com/docs if it exists, otherwise ~/dev/site-dist/docs). If neither exists, a warning is logged and the tarball will need to be uploaded manually.

Basically just some personal preferences, you can and probably should replace this with [UploadToCPAN] if you are taking over a dist.

OPTIONS

cpan

Either 1 or 0. Set to 0 and dist will not be uploaded to CPAN on release.

url

Base web URL if CPAN upload is disabled.

SEE ALSO

Dist::Zilla
Dist::Zilla::PluginBundle::Author::Plicease

AUTHOR

Graham Ollis <plicease@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012-2024 by Graham Ollis.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.