diff options
author | Leah Rowe <info@minifree.org> | 2016-08-18 16:00:09 +0100 |
---|---|---|
committer | Leah Rowe <info@minifree.org> | 2016-08-18 16:00:09 +0100 |
commit | 76e774dbf349ee05164b2e6eccef2e4e5429713b (patch) | |
tree | e48316ace9ad41d6d62ec660e6b2e3655022473d /resources/scripts | |
parent | d09703d1119df1b68ef989bab762be1448548e2b (diff) | |
download | librebootfr-76e774dbf349ee05164b2e6eccef2e4e5429713b.tar.gz librebootfr-76e774dbf349ee05164b2e6eccef2e4e5429713b.zip |
Add RELEASE file
Diffstat (limited to 'resources/scripts')
-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 |