Dist-Zilla-PluginBundle-Git-VersionManager
view release on metacpan or search on metacpan
lib/Dist/Zilla/PluginBundle/Git/VersionManager.pm view on Meta::CPAN
737475767778798081828384858687888990919293
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 )