summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/release/roms
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-11-22 05:59:09 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-11-22 05:59:09 (EST)
commit78fae022e66387f66a975ce551ea5d793afc4d40 (patch)
treeb82053da704c06aaa0e456df53e737889bf3cadf /resources/scripts/helpers/build/release/roms
parent9a4e9bb75aee17ec7d5ee288dfbe1045bfc568c0 (diff)
downloadlibreboot-78fae022e66387f66a975ce551ea5d793afc4d40.zip
libreboot-78fae022e66387f66a975ce551ea5d793afc4d40.tar.gz
libreboot-78fae022e66387f66a975ce551ea5d793afc4d40.tar.bz2
build/release/*: create ChangeLog/NEWS when building from archive
Diffstat (limited to 'resources/scripts/helpers/build/release/roms')
-rwxr-xr-xresources/scripts/helpers/build/release/roms4
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/scripts/helpers/build/release/roms b/resources/scripts/helpers/build/release/roms
index 8e784c0..e2ef74d 100755
--- a/resources/scripts/helpers/build/release/roms
+++ b/resources/scripts/helpers/build/release/roms
@@ -67,6 +67,10 @@ for payload in *; do
rm -f "ChangeLog" "NEWS"
git log > "${archivename}/ChangeLog"
cp "${archivename}/ChangeLog" "${archivename}/NEWS"
+ else
+ # building from release archive
+ cp "ChangeLog" "${archivename}/"
+ cp "NEWS" "${archivename}/"
fi
# Put the version string in the archive.