From 2f541e4872375ac6580fa2a23d623cf6c1f294aa Mon Sep 17 00:00:00 2001 From: Nicolas Sebrecht Date: Sat, 5 Mar 2016 14:36:54 +0100 Subject: [PATCH] release.sh: move the authors section up Signed-off-by: Nicolas Sebrecht --- contrib/release.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/contrib/release.sh b/contrib/release.sh index b378b72..14d80f8 100755 --- a/contrib/release.sh +++ b/contrib/release.sh @@ -29,6 +29,7 @@ CHANGELOG='Changelog.md' CACHEDIR='.git/offlineimap-release' WEBSITE='website' WEBSITE_LATEST="${WEBSITE}/_data/latest.yml" +ME='Nicolas Sebrecht' TMP_CHANGELOG_EXCERPT="${CACHEDIR}/changelog.excerpt.md" TMP_CHANGELOG_EXCERPT_OLD="${TMP_CHANGELOG_EXCERPT}.old" @@ -155,7 +156,7 @@ function update_offlineimap_version () { function get_git_history () { debug 'in get_git_history' git log --format='- %h %s. [%aN]' --no-merges "${1}.." | \ - sed -r -e 's, \[Nicolas Sebrecht\]$,,' + sed -r -e "s, \[${ME}\]$,," } @@ -194,6 +195,12 @@ function changelog_template () { // bigger perspective. // HINT: explain most important changes. +#### Authors + +The authors of this release. + +// Use list syntax with '- ' + #### Features // Use list syntax with '- ' @@ -206,10 +213,6 @@ function changelog_template () { // Use list syntax with '- ' -#### Authors - -// Use list syntax with '- ' - // The preformatted log was added below. Make use of this to fill the sections // above.