ShipIt::Step::ChangePodVersion - Keep VERSION in your Pod in sync with $VERSION
Version 0.02
Just add it to the ShipIt config, maybe after the ChangeVersion-Step
steps = FindVersion, ChangeVersion, ChangePodVersion, CheckChangeLog, ...
And make sure you have a VERSION or at least a NAME section in your Pod.
=head1 VERSION version 123
This is a Step for ShipIt to keep your Pod VERSION in sync with your $VERSION. If a VERSION section is discovered in your Pod, it is tried to find and replace numbers or "." or "_" within this section with your new version.
You can write whatever you want before your version-number, but make sure it does not contain numbers or "." or "_".
In case no VERSION section is found, a VERSION section is created after the NAME section. If no NAME section is found, we die.
By default all your modules' Pod VERSION sections are updated to the files' $VERSION. Add ChangePodVersion.all to your shipit config and set it to 0 to change only the Pod of your distribution package.
In case no $VERSION is found in your package, we don't die, but continue with other packages.
DEFAULT 1
Set this config value to 0 to deactivate VERSION Changes for all your dists modules. Only the dist-packages' Pod VERSION will be changed then.
The code to change all Modules' Pod VERSION is not tested yet, because it is hard to write tests for it. If you encounter problems, just deactivate it with ChangePodVersion.all = 0 and drop me an email.
Thomas Mueller, <tmueller at cpan.org>
<tmueller at cpan.org>
Please report any bugs or feature requests to bug-shipit-step-changepodversion at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=ShipIt-Step-ChangePodVersion. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-shipit-step-changepodversion at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc ShipIt::Step::ChangePodVersion
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=ShipIt-Step-ChangePodVersion
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/ShipIt-Step-ChangePodVersion
CPAN Ratings
http://cpanratings.perl.org/d/ShipIt-Step-ChangePodVersion
Search CPAN
http://search.cpan.org/dist/ShipIt-Step-ChangePodVersion/
Copyright 2010 Thomas Mueller.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install ShipIt::Step::ChangePodVersion, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ShipIt::Step::ChangePodVersion
CPAN shell
perl -MCPAN -e shell install ShipIt::Step::ChangePodVersion
For more information on module installation, please visit the detailed CPAN module installation guide.