diff options
-rw-r--r-- | lib/Dist/Zilla/PluginBundle/DOY.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Dist/Zilla/PluginBundle/DOY.pm b/lib/Dist/Zilla/PluginBundle/DOY.pm index b3afd03..922225a 100644 --- a/lib/Dist/Zilla/PluginBundle/DOY.pm +++ b/lib/Dist/Zilla/PluginBundle/DOY.pm @@ -73,7 +73,11 @@ has is_test_dist => ( is => 'ro', isa => 'Bool', lazy => 1, - default => sub { shift->dist =~ /^Foo-/ ? 1 : 0 }, + default => sub { + my $self = shift; + return 1 if $ENV{DZIL_FAKE_RELEASE}; + return $self->dist =~ /^Foo-/ ? 1 : 0 + }, ); has git_remote => ( |