Subject: | GitHub README |
In the "Future Plans" section of your POD for this bundle, you mention
that you'd like to automatically update the README file for GitHub's
main page:
Show quoted text
> GitHub needs a README - can we extract it and upload it on release?
> ( the current Dist::Zilla::Plugin::Readme doesn't extract the entire
> POD... )
In case you're still interested, I achieve this using the following
dist.ini definitions:
; Add a README file to the build, generated from the finalised POD for
; the main module.
[ReadmeAnyFromPod]
; Also generate a README POD file for the repository root. (This does
; not form part of the final build.)
[ReadmeAnyFromPod / PodRoot]
; Don't allow a release to occur while there are dirty files (other
; than those that may have new version information written as part of
; the build process).
[Git::Check]
allow_dirty = Changes
allow_dirty = dist.ini
allow_dirty = README.pod
; Commit changes to the files modified after a release.
; (Must be defined after [NextRelease].)
[Git::Commit]
allow_dirty = Changes
allow_dirty = dist.ini
allow_dirty = README.pod