diff options
-rw-r--r-- | templates/commit-header | 6 | ||||
-rw-r--r-- | templates/commit-snippet-2 | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/templates/commit-header b/templates/commit-header index 538a6c9..76f65b4 100644 --- a/templates/commit-header +++ b/templates/commit-header @@ -1,2 +1,8 @@ #!/bin/bash pushd @@REPODIR@@ > /dev/null + +if [ "@@NEWKEYWORD@@" = "@@ARCH" ]; then + DESCR="@@ARCH@@ stable (bug #@@BUG@@)" +else + DESCR="@@ARCH@@ keyworded (bug #@@BUG@@)" +fi diff --git a/templates/commit-snippet-2 b/templates/commit-snippet-2 index 1dd7df8..577db3b 100644 --- a/templates/commit-snippet-2 +++ b/templates/commit-snippet-2 @@ -2,6 +2,6 @@ pushd @@CP@@ > /dev/null repoman -d full || exit 1 -repoman -m "@@CP@@: @@NEWKEYWORD@@ stable (bug #@@BUG@@)" commit || exit 1 +repoman -m "@@CP@@: ${DESCR}" commit || exit 1 popd > /dev/null |