App-RewriteVersion

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

     
     # Override module to read version from
     $app->rewrite_versions($app->bump_version($app->current_version(file => $file)));
     
     # Bump versions in specific subdirectories
     $app->rewrite_versions($app->bump_version($app->current_version), subdirs => ['foo','bar']);
     
     # Custom version bump algorithm
     $app->rewrite_versions($app->bump_version($app->current_version, sub { shift + 0.05 }));
     
     # Don't bump, just synchronize versions with main module
     $app->rewrite_versions($app->current_version);
     
     # Set versions to specified version
     $app->rewrite_versions('0.065');
     

DESCRIPTION

    App::RewriteVersion is a tool for managing Perl module versions in a
    distribution. It is heavily based on the Dist::Zilla plugin

lib/App/RewriteVersion.pm  view on Meta::CPAN

 
 # Override module to read version from
 $app->rewrite_versions($app->bump_version($app->current_version(file => $file)));
 
 # Bump versions in specific subdirectories
 $app->rewrite_versions($app->bump_version($app->current_version), subdirs => ['foo','bar']);
 
 # Custom version bump algorithm
 $app->rewrite_versions($app->bump_version($app->current_version, sub { shift + 0.05 }));
 
 # Don't bump, just synchronize versions with main module
 $app->rewrite_versions($app->current_version);
 
 # Set versions to specified version
 $app->rewrite_versions('0.065');
 
=head1 DESCRIPTION

L<App::RewriteVersion> is a tool for managing Perl module versions in a
distribution. It is heavily based on the L<Dist::Zilla> plugin
L<Dist::Zilla::Plugin::RewriteVersion>. Similarly to that plugin, the C<V>



( run in 0.249 second using v1.01-cache-2.11-cpan-0d8aa00de5b )