Dist::Zilla::Plugin::VersionFromMainModule - Set the distribution version from your main module's $VERSION
This plugin sets the distribution version from the $VERSION found in the distribution's main module, as defined by Dist::Zilla.
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.
You can override the distribution version by setting the V environment variable, e.g.: V=1.23 dzil release.
V=1.23 dzil release
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 email@example.com.
I am also usually active on IRC as 'autarch' on 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 <firstname.lastname@example.org>
Dave Rolsky <email@example.com>
Karen Etheridge <firstname.lastname@example.org>
This software is copyright (c) 2009 - 2018 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.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.