diff options
author | Guido Günther <agx@sigxcpu.org> | 2009-02-20 12:55:10 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2009-02-22 16:05:10 +0100 |
commit | ffbb38a82d2403d9495b24b68badd0d1fdf15e28 (patch) | |
tree | 547d7a972931cb773ac895242329d6d5704b4d1d /docs | |
parent | 15042e33a96aac9b7861233bd7d259c375177cbe (diff) |
add gbp-posttag-push example
Diffstat (limited to 'docs')
-rw-r--r-- | docs/chapters/building.sgml | 6 |
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>. |