From 435441d04b2482da6cddd34e988e9173331a9616 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 21 Jan 2024 22:05:41 +0000 Subject: update/release: generate changelogs use the git log, as follows: git log --graph --pretty=format:'%Cred%h%Creset %s %Creset' --abbrev-commit this creates a nice, uniform list of changes. Signed-off-by: Leah Rowe --- script/update/release | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'script') diff --git a/script/update/release b/script/update/release index fa557477..6182bd1c 100755 --- a/script/update/release +++ b/script/update/release @@ -51,6 +51,11 @@ build_release() fetch_trees x_ mv src/docs docs ) || err "can't create release files" + + git log --graph --pretty=format:'%Cred%h%Creset %s %Creset' \ + --abbrev-commit > "${srcdir}/CHANGELOG" || \ + err "build_release $srcdir: couldn't generate changelog" + ( cd "${srcdir%/*}" || err "${_xm}: mktarball \"${srcdir}\"" mktarball "${srcdir##*/}" "${srcdir##*/}.tar.xz" || err "$_xm: mksrc" -- cgit v1.2.1