Dist::Zilla::Plugin::VersionFromMainModule - Set the distribution version from your main module's $VERSION
version 0.03
[VersionFromMainModule]
This plugin sets the distribution version from the $VERSION found in the distribution's main module, as defined by Dist::Zilla.
$VERSION
This plugin is useful if you want to set the $VERSION in your module(s) manually or with some sort of post-release "increment the $VERSION" plugin, rather than letting dzil add the $VERSION based on a setting in the dist.ini.
This code is mostly the same as what Christopher J. Madsen's Dist::Zilla::Plugin::VersionFromModule module does. Unfortunately, that module is only shipped as part of a larger distribution, and that distribution has not been updated despite the fact that it is failing tests with newer versions of dzil.
Bugs may be submitted at http://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-VersionFromMainModule or via email to bug-dist-zilla-plugin-versionfrommainmodule@rt.cpan.org.
I am also usually active on IRC as 'autarch' on irc://irc.perl.org.
irc://irc.perl.org
The source code repository for Dist-Zilla-Plugin-VersionFromMainModule can be found at https://github.com/houseabsolute/Dist-Zilla-Plugin-VersionFromMainModule.
Christopher J. Madsen <perl@cjmweb.net>
Dave Rolsky <autarch@urth.org>
This software is copyright (c) 2009 - 2017 by Christopher J. Madsen.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
The full text of the license can be found in the LICENSE file included with this distribution.
To install Dist::Zilla::Plugin::VersionFromMainModule, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::VersionFromMainModule
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::VersionFromMainModule
For more information on module installation, please visit the detailed CPAN module installation guide.