aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build/release/tobuild
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-11-22 10:59:09 +0000
committerFrancis Rowe <info@gluglug.org.uk>2015-11-22 10:59:09 +0000
commit78fae022e66387f66a975ce551ea5d793afc4d40 (patch)
treeb82053da704c06aaa0e456df53e737889bf3cadf /resources/scripts/helpers/build/release/tobuild
parent9a4e9bb75aee17ec7d5ee288dfbe1045bfc568c0 (diff)
downloadlibrebootfr-78fae022e66387f66a975ce551ea5d793afc4d40.tar.gz
librebootfr-78fae022e66387f66a975ce551ea5d793afc4d40.zip
build/release/*: create ChangeLog/NEWS when building from archive
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 c389fa8f..da1b6d94 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