NAME

Dist::Zilla::Plugin::DBIO::RequireCoreVersion - Stop a release whose runtime prereq on DBIO lags behind the dist's own version

VERSION

version 0.900007

DESCRIPTION

Part of the [@DBIO] bundle for every distribution except the DBIO core. The DBIO distributions are released together and a driver of version X is written against the core API of version X. The cpanfile of a driver says so with requires 'DBIO', 'X', a line kept by hand.

Before the release this plugin reads the runtime prereq on DBIO from the prereqs of the distribution (the cpanfile via Dist::Zilla::Plugin::Prereqs::FromCPANfile) and compares its minimum version with the version being released. A minimum version lower than the distribution's version aborts the release. The message names both versions and the cpanfile line to write. A minimum version above the distribution's is accepted. Only the runtime phase counts. A distribution without a runtime prereq on DBIO (the bundle itself, the tombstones of DBIO-Deprecated) has nothing to check and releases.

The plugin changes no prereq and gathers nothing; it only checks.

AUTHOR

DBIO Authors

COPYRIGHT AND LICENSE

Copyright (C) 2026 DBIO Authors

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