aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2009-04-04 19:04:35 +0200
committerGuido Günther <agx@sigxcpu.org>2009-04-04 19:25:36 +0200
commite4db34b4adf1434581c76e7c58d6927f8d50154b (patch)
tree0a4895c15c49f871af8393b67042fc1c8a146d8e /docs
parent8d2c6bd851ece9c316696aa3f0760d4636626958 (diff)
add postbuild hook
can be used to e.g. run lintian. Closes: #521358
Diffstat (limited to 'docs')
-rw-r--r--docs/manpages/git-buildpackage.sgml15
1 files changed, 14 insertions, 1 deletions
diff --git a/docs/manpages/git-buildpackage.sgml b/docs/manpages/git-buildpackage.sgml
index 6ef3cc45..651039b8 100644
--- a/docs/manpages/git-buildpackage.sgml
+++ b/docs/manpages/git-buildpackage.sgml
@@ -29,6 +29,7 @@
<arg><option>--git-[no-]sign-tags</option></arg>
<arg><option>--git-keyid=</option><replaceable>gpg-keyid</replaceable></arg>
<arg><option>--git-posttag=</option><replaceable>command</replaceable></arg>
+ <arg><option>--git-postbuild=</option><replaceable>command</replaceable></arg>
<arg><option>--git-debian-tag=</option><replaceable>tag-format</replaceable></arg>
<arg><option>--git-no-create-orig</option></arg>
<arg><option>--git-tarball-dir=</option><replaceable>directory</replaceable></arg>
@@ -156,7 +157,19 @@
<term><option>--git-posttag=</option><replaceable>command</replaceable>
</term>
<listitem>
- <para>excecute <replaceable>command</replaceable> after tagging a new version</para>
+ <para>excecute <replaceable>command</replaceable> after tagging a new
+ version.</para><para>Exported environment variables are GBP_TAG (the name
+ of the generated tag), GBP_BRANCH (the branch the package was build
+ from) and GBP_SHA1 (the sha1 of the commit the tag was created at).</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--git-postbuild=</option><replaceable>command</replaceable>
+ </term>
+ <listitem>
+ <para>excecute <replaceable>command</replaceable> after succesful
+ build.</para><para> The name of the generated changes file is exportes as
+ GBP_CHANGES_FILE into the environment.</para>
</listitem>
</varlistentry>
<varlistentry>