From: Charles McGarvey Date: Sat, 26 Nov 2016 02:29:30 +0000 (-0700) Subject: only rewrite repo readme on release X-Git-Tag: v0.002~4 X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=467fb76175d0ae29aafd792bd22ba033705ea0d7;p=chaz%2Fp5-Dist-Zilla-PluginBundle-Author-CCM only rewrite repo readme on release --- 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'],