diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2018-01-18 13:41:48 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2018-01-20 12:47:16 +0100 |
commit | 30114904ff7c06f1cc9e6a47fa4b329a243fa704 (patch) | |
tree | adbf9f9add1ecdd43c3040db406bcba7df319a0f /docs | |
parent | 690323271b642e9479fde942e2a362b3d43f6573 (diff) |
dch: implement postedit hooks
Add new --postedit command line option for defining a custom hook that
will be run after changes to the changelog file has been finalized.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manpages/gbp-dch.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/manpages/gbp-dch.xml b/docs/manpages/gbp-dch.xml index e85cb777..82a98334 100644 --- a/docs/manpages/gbp-dch.xml +++ b/docs/manpages/gbp-dch.xml @@ -73,6 +73,7 @@ <arg><option>--commit</option></arg> </group> <arg><option>--customizations=</option><replaceable>customization-file</replaceable></arg> + <arg><option>--postedit=</option><replaceable>COMMAND</replaceable></arg> <arg rep='repeat'><option>--dch-opt=</option><replaceable>dch-options</replaceable></arg> <arg><option>--verbose</option></arg> <arg choice="plain"><replaceable><optional>path1 path2</optional></replaceable></arg> @@ -503,6 +504,18 @@ </listitem> </varlistentry> <varlistentry> + <term><option>--postedit=</option><replaceable>COMMAND</replaceable> + </term> + <listitem> + <para> + Run<replaceable>COMMAND</replaceable> after changes to the changelog + file have been finalized, That is, after dch has been run and + possible text editor has been exited, but, before changes are + (possibly) committed to git. + </para> + </listitem> + </varlistentry> + <varlistentry> <term><option>--dch-opt=</option><replaceable>dch-option</replaceable> </term> <listitem> |