From 76e774dbf349ee05164b2e6eccef2e4e5429713b Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 18 Aug 2016 16:00:09 +0100 Subject: Add RELEASE file --- resources/scripts/helpers/build/release/roms | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'resources/scripts/helpers/build/release/roms') diff --git a/resources/scripts/helpers/build/release/roms b/resources/scripts/helpers/build/release/roms index 5ab835f2..32159e75 100755 --- a/resources/scripts/helpers/build/release/roms +++ b/resources/scripts/helpers/build/release/roms @@ -69,6 +69,12 @@ for payload in *; do rm -f "ChangeLog" "NEWS" git log > "${archivename}/ChangeLog" cp "${archivename}/ChangeLog" "${archivename}/NEWS" + if [ -f "../../RELEASE" ]; then + rm -f "${archivename}/NEWS" + rm -f "${archivename}/ChangeLog" + mv "RELEASE" "${archivename}/NEWS" + cp "RELEASE" "${archivename}/ChangeLog" + fi else # building from release archive cp "ChangeLog" "${archivename}/" -- cgit v1.2.3-70-g09d2