NAME

Dist::Zilla::Plugin::PERLANCAR::CheckPendingRelease - Check for pending release before releasing

VERSION

This document describes version 0.001 of Dist::Zilla::Plugin::PERLANCAR::CheckPendingRelease (from Perl distribution Dist-Zilla-Plugin-PERLANCAR-CheckPendingRelease), released on 2020-08-14.

SYNOPSIS

In your dist.ini:

 [PERLANCAR::CheckPendingRelease]

DESCRIPTION

In the BeforeRelease phase, this plugin checks whether the program my-pending-perl-release is found in PATH. If the program is found, this plugin uses the program to check whether a previous release of the distro being built is pending release. And when that is the case, the plugin aborts the build to avoid releasing a newer version of the distro while another, older version has been built but not yet released.

This plugin is most probably only useful to me, as I often build but not immediately release my distros using Dist::Zilla. I release this plugin because this plugin is included in my standard bundle. When the my-pending-perl-release program is not found in PATH, this plugin will do nothing.

CONFIGURATION

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Dist-Zilla-Plugin-PERLANCAR-CheckPendingRelease.

SOURCE

Source repository is at https://github.com/perlancar/perl-Dist-Zilla-Plugin-PERLANCAR-CheckPendingRelease.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-PERLANCAR-CheckPendingRelease

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2020 by perlancar@cpan.org.

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