Dist::Zilla::Plugin::FakeRelease - fake plugin to test release


Dist-Zilla documentation  | view source Contained in the Dist-Zilla distribution.

Index


NAME

Top

Dist::Zilla::Plugin::FakeRelease - fake plugin to test release

VERSION

Top

version 4.200008

SYNOPSIS

Top

    [FakeRelease]
    user = CPANAUTHORID ; # optional.

DESCRIPTION

Top

This plugin is a Releaser that does nothing. It is directed to plugin authors, who may need a dumb release plugin to test their shiny plugin implementing BeforeRelease and AfterRelease.

When this plugin does the release, it will just log a message and finish.

If you set the environment variable DZIL_FAKERELEASE_FAIL to a true value, the plugin will die instead of doing nothing. This can be usefulfor authors wanting to test reliably that release failed.

You can optionally provide the 'user' parameter, which defaults to 'AUTHORID', which will allow things that depend on this metadata ( Sometimes provided by Dist::Zilla::Plugin::UploadToCPAN ) to still work. ( For example: Dist::Zilla::Plugin::Twitter )

AUTHOR

Top

Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE

Top


Dist-Zilla documentation  | view source Contained in the Dist-Zilla distribution.