Dist::Zilla::Plugin::GitHub::Update - Update GitHub repo info on release
version 0.13
Configure git with your GitHub credentials:
$ git config --global github.user LoginName $ git config --global github.token GitHubToken
then, in your dist.ini:
[GitHub::Update] repo = SomeRepo cpan = 1
This Dist::Zilla plugin updates the information of the GitHub repository when dzil release is run.
dzil release
repo
The name of the GitHub repository. By default the dist name (from dist.ini) is used.
cpan
If set to '1' (default), the GitHub homepage field will be set to the CPAN page of the module.
p3rl
If set to '1' (default '0'), the GitHub homepage field will be set to the p3rl.org shortened URL (e.g. http://p3rl.org/My::Module). This takes precedence over the cpan option (if both '1', p3rl will be used).
http://p3rl.org/My::Module
metacpan
If set to '1' (default '0'), the GitHub homepage field will be set to the metacpan.org distribution URL (e.g. http://metacpan.org/release/My-Module). This takes precedence over the cpan and p3rl options (if all three '1', metacpan will be used).
http://metacpan.org/release/My-Module
Alessandro Ghedini <alexbio@cpan.org>
Copyright 2011 Alessandro Ghedini.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Dist::Zilla::Plugin::GitHub, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::GitHub
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::GitHub
For more information on module installation, please visit the detailed CPAN module installation guide.