aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/chapters
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2009-02-20 12:55:10 +0100
committerGuido Günther <agx@sigxcpu.org>2009-02-22 16:05:10 +0100
commitffbb38a82d2403d9495b24b68badd0d1fdf15e28 (patch)
tree547d7a972931cb773ac895242329d6d5704b4d1d /docs/chapters
parent15042e33a96aac9b7861233bd7d259c375177cbe (diff)
add gbp-posttag-push example
Diffstat (limited to 'docs/chapters')
-rw-r--r--docs/chapters/building.sgml6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/chapters/building.sgml b/docs/chapters/building.sgml
index 7417a42d..e81a48e8 100644
--- a/docs/chapters/building.sgml
+++ b/docs/chapters/building.sgml
@@ -80,8 +80,8 @@ export-dir=../build-area
<programlisting>
#!/bin/sh -e
#
-# gbp-push: post tag hook to push out the newly created tag and to forward the
-# remote branch to that position
+# gbp-posttag-push: post tag hook to push out the newly created tag and to
+# forward the remote branch to that position
if ! REMOTE=$(git config --get branch."${GBP_BRANCH}".remote); then
REMOTE=origin
@@ -107,7 +107,7 @@ echo "done."
and <replaceable>GBP_BRANCH</replaceable> are passed to the hook via the
environment. To call this hook automatically upon tag creation add:
<programlisting>
-<option>posttag</option>=<replaceable>"gbp-push"</replaceable>
+<option>posttag</option>=<replaceable>"gbp-posttag-push"</replaceable>
</programlisting>
to your <filename>.gbp.conf</filename> and make sure <filename>gbp-push</filename>
is somewhere in your <replaceable>$PATH</replaceable>.