From 78fae022e66387f66a975ce551ea5d793afc4d40 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 22 Nov 2015 10:59:09 +0000 Subject: build/release/*: create ChangeLog/NEWS when building from archive --- resources/scripts/helpers/build/release/util | 4 ++++ 1 file changed, 4 insertions(+) (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 cdef345d..1a0d72f4 100755 --- a/resources/scripts/helpers/build/release/util +++ b/resources/scripts/helpers/build/release/util @@ -68,6 +68,10 @@ if [ ! -f "version" ]; then rm -f "ChangeLog" "NEWS" git log > "${distdir}/ChangeLog" cp "${distdir}/ChangeLog" "${distdir}/NEWS" +else + # building from release archive + cp "ChangeLog" "${distdir}/" + cp "NEWS" "${distdir}/" fi # include version information -- cgit v1.2.3-70-g09d2