diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-11-22 10:59:09 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-11-22 10:59:09 +0000 |
commit | 78fae022e66387f66a975ce551ea5d793afc4d40 (patch) | |
tree | b82053da704c06aaa0e456df53e737889bf3cadf /resources/scripts/helpers | |
parent | 9a4e9bb75aee17ec7d5ee288dfbe1045bfc568c0 (diff) | |
download | librebootfr-78fae022e66387f66a975ce551ea5d793afc4d40.tar.gz librebootfr-78fae022e66387f66a975ce551ea5d793afc4d40.zip |
build/release/*: create ChangeLog/NEWS when building from archive
Diffstat (limited to 'resources/scripts/helpers')
-rwxr-xr-x | resources/scripts/helpers/build/release/docs | 4 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/release/roms | 4 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/release/src | 4 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/release/tobuild | 4 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/release/util | 4 |
5 files changed, 20 insertions, 0 deletions
diff --git a/resources/scripts/helpers/build/release/docs b/resources/scripts/helpers/build/release/docs index c2099a0b..966bccf0 100755 --- a/resources/scripts/helpers/build/release/docs +++ b/resources/scripts/helpers/build/release/docs @@ -52,6 +52,10 @@ if [ ! -f "version" ]; then rm -f "ChangeLog" "NEWS" git log > "${distdir}/ChangeLog" cp "${distdir}/ChangeLog" "${distdir}/NEWS" +else + # building from release archive + cp "ChangeLog" "${distdir}/" + cp "NEWS" "${distdir}/" fi # include version information diff --git a/resources/scripts/helpers/build/release/roms b/resources/scripts/helpers/build/release/roms index 8e784c01..e2ef74d5 100755 --- a/resources/scripts/helpers/build/release/roms +++ b/resources/scripts/helpers/build/release/roms @@ -67,6 +67,10 @@ for payload in *; do rm -f "ChangeLog" "NEWS" git log > "${archivename}/ChangeLog" cp "${archivename}/ChangeLog" "${archivename}/NEWS" + else + # building from release archive + cp "ChangeLog" "${archivename}/" + cp "NEWS" "${archivename}/" fi # Put the version string in the archive. diff --git a/resources/scripts/helpers/build/release/src b/resources/scripts/helpers/build/release/src index 6dd06202..ed7ec680 100755 --- a/resources/scripts/helpers/build/release/src +++ b/resources/scripts/helpers/build/release/src @@ -57,6 +57,10 @@ if [ ! -f "version" ]; then rm -f "ChangeLog" "NEWS" git log > "${distdir}/ChangeLog" cp "${distdir}/ChangeLog" "${distdir}/NEWS" +else + # building from release archive + cp "ChangeLog" "${distdir}/" + cp "NEWS" "${distdir}/" fi # include version information diff --git a/resources/scripts/helpers/build/release/tobuild b/resources/scripts/helpers/build/release/tobuild index c389fa8f..da1b6d94 100755 --- a/resources/scripts/helpers/build/release/tobuild +++ b/resources/scripts/helpers/build/release/tobuild @@ -76,6 +76,10 @@ if [ ! -f "version" ]; then rm -f "ChangeLog" "NEWS" git log > "${distdir}/ChangeLog" cp "${distdir}/ChangeLog" "${distdir}/NEWS" +else + # building from release archive + cp "ChangeLog" "${distdir}/" + cp "NEWS" "${distdir}/" fi # include version information diff --git a/resources/scripts/helpers/build/release/util b/resources/scripts/helpers/build/release/util index cdef345d..1a0d72f4 100755 --- a/resources/scripts/helpers/build/release/util +++ b/resources/scripts/helpers/build/release/util @@ -68,6 +68,10 @@ if [ ! -f "version" ]; then rm -f "ChangeLog" "NEWS" git log > "${distdir}/ChangeLog" cp "${distdir}/ChangeLog" "${distdir}/NEWS" +else + # building from release archive + cp "ChangeLog" "${distdir}/" + cp "NEWS" "${distdir}/" fi # include version information |