summaryrefslogtreecommitdiff
path: root/script/update
diff options
context:
space:
mode:
Diffstat (limited to 'script/update')
-rwxr-xr-xscript/update/release5
1 files changed, 5 insertions, 0 deletions
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"