Dist::Zilla::Plugin::FakeRelease.3pm

Langue: en

Autres versions - même langue

Version: 2010-08-22 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

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

VERSION

version 4.102340

SYNOPSIS

     [FakeRelease]
     user = CPANAUTHORID ; # optional.
 
 

DESCRIPTION

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

Ricardo SIGNES <rjbs@cpan.org> This software is copyright (c) 2010 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.