From eb410db18e42883febe04277f74e80a833399c17 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Mon, 16 Nov 2015 07:53:44 -0500 Subject: release build scripts: add ChangeLog and NEWS to release --- (limited to 'resources/scripts/helpers/build/release/util') diff --git a/resources/scripts/helpers/build/release/util b/resources/scripts/helpers/build/release/util index 95bc234..cdef345 100755 --- a/resources/scripts/helpers/build/release/util +++ b/resources/scripts/helpers/build/release/util @@ -61,6 +61,15 @@ rm -f "${distdir}.tar.xz" # this is where they will go mkdir -p "${distdir}/" +# 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" -- cgit v0.9.1