From 83c069b61f990de936fcc685a6cad3e56119f95a Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 25 May 2016 00:28:30 +0200 Subject: [PATCH] Save the most recent commits in a changelog file This allows quickly to find out which revision was actually built without looking that up manually. Signed-off-by: Michael Tremer --- build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.sh b/build.sh index f3eaa3a..fae811c 100755 --- a/build.sh +++ b/build.sh @@ -83,6 +83,9 @@ build() { ./make.sh --target="${target}" build | tee "${build}/build.log" local ret=${PIPESTATUS[0]} + # Save the changelog + git log -50 > "${build}/changelog.txt" + # Save the result if [ "${ret}" = "0" ]; then mv -v *.iso *.img.gz *.tar.bz2 *.md5 packages/ "${build}" -- 2.47.3