From 467fb76175d0ae29aafd792bd22ba033705ea0d7 Mon Sep 17 00:00:00 2001 From: Charles McGarvey Date: Fri, 25 Nov 2016 19:29:30 -0700 Subject: [PATCH] only rewrite repo readme on release --- lib/Dist/Zilla/PluginBundle/Author/CCM.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Dist/Zilla/PluginBundle/Author/CCM.pm b/lib/Dist/Zilla/PluginBundle/Author/CCM.pm index a8a327f..7381c41 100644 --- a/lib/Dist/Zilla/PluginBundle/Author/CCM.pm +++ b/lib/Dist/Zilla/PluginBundle/Author/CCM.pm @@ -79,6 +79,7 @@ You probably don't want to use this. filename = README.md locaton = root type = markdown + phase = release [ReadmeAnyFromPod] filename = README location = build @@ -237,7 +238,7 @@ sub configure { # GENERATE FILES ['License'], - ['ReadmeAnyFromPod' => 'repo readme' => {filename => 'README.md', location => 'root', type => 'markdown'}], + ['ReadmeAnyFromPod' => 'repo readme' => {filename => 'README.md', location => 'root', type => 'markdown', phase => 'release'}], ['ReadmeAnyFromPod' => 'dist readme' => {filename => 'README', location => 'build', type => 'text'}], ['TravisYML'], ['Manifest'], -- 2.45.2