Dist::Zilla::Plugin::Git::CommitBuild - checkin build results on separate branch
version 1.101330
In your dist.ini:
[Git::CommitBuild] ; these are the defaults branch = build/%b message = Build results of %h (on %b)
Once the build is done, this plugin will commit the results of the build to a branch that is completely separate from your regular code branches (i.e. with a different root commit). This potentially makes your repository more useful to those who may not have Dist::Zilla and all of it's dependencies installed.
The plugin accepts the following options:
branch - String::Formatter string for where to commit the build contents
A single formatting code (%b) is defined for this attribute and will be substituted with the name of the current branch in your git repository.
%b
message - String::Formatter string for what commit message to use when committing the results of the build.
This option supports three formatting codes:
%b - Name of the current branch
%H - Commit hash
%H
%h - Abbreviated commit hash
%h
Jerome Quelin
This software is copyright (c) 2009 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dist::Zilla::Plugin::Git, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::Git
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::Git
For more information on module installation, please visit the detailed CPAN module installation guide.