Dist-Zilla-PluginBundle-Git-VersionManager

 view release on metacpan or  search on metacpan

lib/Dist/Zilla/PluginBundle/Git/VersionManager.pm  view on Meta::CPAN

73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
    lazy => 1,
    default => sub { $_[0]->payload->{plugin_prereq_relationship} // '' },
);
 
sub configure
{
    my $self = shift;
 
    my $fallback_version_provider =
        $self->payload->{'RewriteVersion::Transitional.fallback_version_provider'}
            // 'Git::NextVersion'# TODO: move this default to an attribute; be careful of overlays
 
    $self->add_plugins(
        # adding this first indicates the start of the bundle in x_Dist_Zilla metadata
        [ 'Prereqs' => 'pluginbundle version' => {
                '-phase' => 'develop', '-relationship' => 'recommends',
                $self->meta->name => $self->VERSION,
            } ],
 
        # VersionProvider (and a file munger, for the transitional usecase)
        $self->bump_only_matching_versions



( run in 0.264 second using v1.01-cache-2.11-cpan-87723dcf8b7 )