From eb410db18e42883febe04277f74e80a833399c17 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Mon, 16 Nov 2015 13:53:44 +0100 Subject: release build scripts: add ChangeLog and NEWS to release --- resources/scripts/helpers/build/release/src | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'resources/scripts/helpers/build/release/src') diff --git a/resources/scripts/helpers/build/release/src b/resources/scripts/helpers/build/release/src index b866d123..6dd06202 100755 --- a/resources/scripts/helpers/build/release/src +++ b/resources/scripts/helpers/build/release/src @@ -50,6 +50,16 @@ for resource in *; do esac done +# this has to be done before generating +# the "version" file +if [ ! -f "version" ]; then + # generate ChangeLog and NEWS files + rm -f "ChangeLog" "NEWS" + git log > "${distdir}/ChangeLog" + cp "${distdir}/ChangeLog" "${distdir}/NEWS" +fi + +# include version information printf '%s\n' "${version}" >"${distdir}/version" printf 'Cleaning files in %s/\n' "${distdir}" -- cgit v1.2.3-70-g09d2