Dist::Zilla::Plugin::Git::CommitBuild(3pm) User Contributed Perl Documentation Dist::Zilla::Plugin::Git::CommitBuild(3pm)

Dist::Zilla::Plugin::Git::CommitBuild - Check in build results on separate branch

version 2.049

In your dist.ini:

    [Git::CommitBuild]
        ; these are the defaults
    branch = build/%b
    message = Build results of %h (on %b)
    multiple_inheritance = 0

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 its dependencies installed.

The plugin accepts the following options:

  • %b - Name of the current branch
  • %H - Commit hash
  • %h - Abbreviated commit hash
  • %v - The release version number
  • %V - The release version number, but with a leading "v" removed if it exists
  • %t - The string "-TRIAL" if this is a trial release

Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Git> (or bug-Dist-Zilla-Plugin-Git@rt.cpan.org <mailto:bug-Dist-Zilla-Plugin-Git@rt.cpan.org>).

There is also a mailing list available for users of this distribution, at <http://dzil.org/#mailing-list>.

There is also an irc channel available for users of this distribution, at "#distzilla" on "irc.perl.org" <irc://irc.perl.org/#distzilla>.

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.

2024-01-20 perl v5.38.2