summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/release/tobuild
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/helpers/build/release/tobuild')
-rwxr-xr-xresources/scripts/helpers/build/release/tobuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/scripts/helpers/build/release/tobuild b/resources/scripts/helpers/build/release/tobuild
index c389fa8..da1b6d9 100755
--- a/resources/scripts/helpers/build/release/tobuild
+++ b/resources/scripts/helpers/build/release/tobuild
@@ -76,6 +76,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