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 ++++++ resources/scripts/helpers/build/release/src | 7 +++++++ resources/scripts/helpers/build/release/util | 7 +++++++ 3 files changed, 20 insertions(+) (limited to 'resources/scripts/helpers/build') 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}/" diff --git a/resources/scripts/helpers/build/release/src b/resources/scripts/helpers/build/release/src index c9a03ae6..cec0c2f2 100755 --- a/resources/scripts/helpers/build/release/src +++ b/resources/scripts/helpers/build/release/src @@ -65,6 +65,13 @@ else cp "NEWS" "${distdir}/" fi +if [ -f "RELEASE" ]; then + rm -f "${distdir}/NEWS" + rm -f "${distdir}/ChangeLog" + cp "RELEASE" "${distdir}/NEWS" + cp "RELEASE" "${distdir}/ChangeLog" +fi + # include version information printf '%s\n' "${version}" >"${distdir}/version" # include version date information diff --git a/resources/scripts/helpers/build/release/util b/resources/scripts/helpers/build/release/util index 3f7528f1..a42125fa 100755 --- a/resources/scripts/helpers/build/release/util +++ b/resources/scripts/helpers/build/release/util @@ -76,6 +76,13 @@ else cp "NEWS" "${distdir}/" fi +if [ -f "RELEASE" ]; then + rm -f "${distdir}/NEWS" + rm -f "${distdir}/ChangeLog" + cp "RELEASE" "${distdir}/NEWS" + cp "RELEASE" "${distdir}/ChangeLog" +fi + # include version information printf '%s\n' "${version}" >"${distdir}/version" # include version date information -- cgit v1.2.3-70-g09d2