.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Dist::Zilla::Plugin::Git::CommitBuild 3pm" .TH Dist::Zilla::Plugin::Git::CommitBuild 3pm 2024-01-20 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Dist::Zilla::Plugin::Git::CommitBuild \- Check in build results on separate branch .SH VERSION .IX Header "VERSION" version 2.049 .SH SYNOPSIS .IX Header "SYNOPSIS" In your \fIdist.ini\fR: .PP .Vb 5 \& [Git::CommitBuild] \& ; these are the defaults \& branch = build/%b \& message = Build results of %h (on %b) \& multiple_inheritance = 0 .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" 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. .PP The plugin accepts the following options: .IP \(bu 4 branch \- String::Formatter string for where to commit the build contents. .Sp A single formatting code (\f(CW%b\fR) is defined for this attribute and will be substituted with the name of the current branch in your git repository. .Sp Defaults to \f(CW\*(C`build/%b\*(C'\fR, but if set explicitly to an empty string causes no build contents checkin to be made. .IP \(bu 4 release_branch \- String::Formatter string for where to commit the build contents .Sp Same as \f(CW\*(C`branch\*(C'\fR, but commit the build content only after a release. No default, meaning no release branch. .IP \(bu 4 message \- String::Formatter string for what commit message to use when committing the results of the build. .Sp This option supports five formatting codes: .RS 4 .IP \(bu 4 \&\f(CW%b\fR \- Name of the current branch .IP \(bu 4 \&\f(CW%H\fR \- Commit hash .IP \(bu 4 \&\f(CW%h\fR \- Abbreviated commit hash .IP \(bu 4 \&\f(CW%v\fR \- The release version number .IP \(bu 4 \&\f(CW%V\fR \- The release version number, but with a leading \f(CW\*(C`v\*(C'\fR removed if it exists .IP \(bu 4 \&\f(CW%t\fR \- The string "\-TRIAL" if this is a trial release .RE .RS 4 .RE .IP \(bu 4 release_message \- String::Formatter string for what commit message to use when committing the results of the release. .Sp Defaults to the same as \f(CW\*(C`message\*(C'\fR. .IP \(bu 4 multiple_inheritance \- Indicates whether the commit containing the build results should have the source commit as a parent. .Sp If false (the default), the build branch will be completely separate from the regular code branches. If set to a true value, commits on a build branch will have two parents: the previous build commit and the source commit from which the build was generated. .SH SUPPORT .IX Header "SUPPORT" Bugs may be submitted through the RT bug tracker (or bug\-Dist\-Zilla\-Plugin\-Git@rt.cpan.org ). .PP There is also a mailing list available for users of this distribution, at . .PP There is also an irc channel available for users of this distribution, at \&\f(CW\*(C`#distzilla\*(C'\fR on \f(CW\*(C`irc.perl.org\*(C'\fR . .SH AUTHOR .IX Header "AUTHOR" Jerome Quelin .SH "COPYRIGHT AND LICENCE" .IX Header "COPYRIGHT AND LICENCE" This software is copyright (c) 2009 by Jerome Quelin. .PP This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.