From feda1f7a534802d11473cf51cad40c473970585e Mon Sep 17 00:00:00 2001 From: Nicolas Sebrecht Date: Tue, 7 Jun 2016 17:24:27 +0200 Subject: [PATCH] release.sh: put the authors directly to the AUTHORS section Signed-off-by: Nicolas Sebrecht --- contrib/release.sh | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/contrib/release.sh b/contrib/release.sh index 01aee9b..9d36b96 100755 --- a/contrib/release.sh +++ b/contrib/release.sh @@ -174,8 +174,8 @@ function get_git_who () { # # $1: new version # $2: shortlog -function changelog_template () { - debug 'in changelog_template' +function changelog_template_part1 () { + debug 'in changelog_template_part1' cat < "$TMP_CHANGELOG_EXCERPT" - get_git_history "$2" >> "$TMP_CHANGELOG_EXCERPT" + changelog_template_part1 "$1" > "$TMP_CHANGELOG_EXCERPT" get_git_who "$2" >> "$TMP_CHANGELOG_EXCERPT" + changelog_template_part2 >> "$TMP_CHANGELOG_EXCERPT" + get_git_history "$2" >> "$TMP_CHANGELOG_EXCERPT" edit_file "the Changelog excerpt" $TMP_CHANGELOG_EXCERPT # Remove comments.