release.sh: move the authors section up

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2016-03-05 14:36:54 +01:00
parent d8398ba374
commit 2f541e4872

View File

@ -29,6 +29,7 @@ CHANGELOG='Changelog.md'
CACHEDIR='.git/offlineimap-release' CACHEDIR='.git/offlineimap-release'
WEBSITE='website' WEBSITE='website'
WEBSITE_LATEST="${WEBSITE}/_data/latest.yml" WEBSITE_LATEST="${WEBSITE}/_data/latest.yml"
ME='Nicolas Sebrecht'
TMP_CHANGELOG_EXCERPT="${CACHEDIR}/changelog.excerpt.md" TMP_CHANGELOG_EXCERPT="${CACHEDIR}/changelog.excerpt.md"
TMP_CHANGELOG_EXCERPT_OLD="${TMP_CHANGELOG_EXCERPT}.old" TMP_CHANGELOG_EXCERPT_OLD="${TMP_CHANGELOG_EXCERPT}.old"
@ -155,7 +156,7 @@ function update_offlineimap_version () {
function get_git_history () { function get_git_history () {
debug 'in get_git_history' debug 'in get_git_history'
git log --format='- %h %s. [%aN]' --no-merges "${1}.." | \ 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. // bigger perspective.
// HINT: explain most important changes. // HINT: explain most important changes.
#### Authors
The authors of this release.
// Use list syntax with '- '
#### Features #### Features
// Use list syntax with '- ' // Use list syntax with '- '
@ -206,10 +213,6 @@ function changelog_template () {
// Use list syntax with '- ' // Use list syntax with '- '
#### Authors
// Use list syntax with '- '
// The preformatted log was added below. Make use of this to fill the sections // The preformatted log was added below. Make use of this to fill the sections
// above. // above.