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 <leah@libreboot.org>audit2-merge1
parent
e9fcc47c08
commit
aa11288a09
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue