diff options
author | Leah Rowe <info@minifree.org> | 2016-08-22 13:51:24 +0100 |
---|---|---|
committer | Leah Rowe <info@minifree.org> | 2016-08-22 17:21:32 +0100 |
commit | b12a86d9d808bf2239573aea7496b21d54123ee0 (patch) | |
tree | ff54e31fef1997bb8aac170ab3af45a1e3ed19f2 /resources/scripts/helpers/build/release | |
parent | ddc4f2af70e09a2848ee2eb1705eca92e036923d (diff) | |
download | librebootfr-b12a86d9d808bf2239573aea7496b21d54123ee0.tar.gz librebootfr-b12a86d9d808bf2239573aea7496b21d54123ee0.zip |
some random fixes
Diffstat (limited to 'resources/scripts/helpers/build/release')
-rwxr-xr-x | resources/scripts/helpers/build/release/roms | 7 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/release/src | 7 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/release/tobuild | 7 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/release/util | 7 |
4 files changed, 28 insertions, 0 deletions
diff --git a/resources/scripts/helpers/build/release/roms b/resources/scripts/helpers/build/release/roms index 5ab835f2..a731d1d6 100755 --- a/resources/scripts/helpers/build/release/roms +++ b/resources/scripts/helpers/build/release/roms @@ -75,6 +75,13 @@ for payload in *; do cp "NEWS" "${archivename}/" fi + if [ -f "../../RELEASE" ]; then + rm -f "${archivename}/ChangeLog" + rm -f "${archivename}/NEWS" + cp "../../RELEASE" "${archivename}/ChangeLog" + cp "../../RELEASE" "${archivename}/NEWS" + fi + # Put the version string in the archive. printf '%s\n' "${version}" >"${archivename}/version" # Put the version date string in the archive diff --git a/resources/scripts/helpers/build/release/src b/resources/scripts/helpers/build/release/src index c9a03ae6..d224fb51 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}/ChangeLog" + rm -f "${distdir}/NEWS" + cp "RELEASE" "${distdir}/ChangeLog" + cp "RELEASE" "${distdir}/NEWS" +fi + # include version information printf '%s\n' "${version}" >"${distdir}/version" # include version date information diff --git a/resources/scripts/helpers/build/release/tobuild b/resources/scripts/helpers/build/release/tobuild index d9022f7b..b3a9fb0c 100755 --- a/resources/scripts/helpers/build/release/tobuild +++ b/resources/scripts/helpers/build/release/tobuild @@ -84,6 +84,13 @@ else cp "NEWS" "${distdir}/" fi +if [ -f "RELEASE" ]; then + rm -f "${distdir}/ChangeLog" + rm -f "${distdir}/NEWS" + cp "RELEASE" "${distdir}/ChangeLog" + cp "RELEASE" "${distdir}/NEWS" +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 40fafaed..df4bd6be 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}/ChangeLog" + rm -f "${distdir}/NEWS" + cp "RELEASE" "${distdir}/ChangeLog" + cp "RELEASE" "${distdir}/NEWS" +fi + # include version information printf '%s\n' "${version}" >"${distdir}/version" # include version date information |