diff options
Diffstat (limited to 'resources/scripts/helpers')
-rwxr-xr-x | resources/scripts/helpers/build/release/roms | 6 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/release/src | 7 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/release/util | 7 |
3 files changed, 20 insertions, 0 deletions
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 |