diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-11-16 07:53:44 (EST) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-11-16 07:53:44 (EST) |
commit | eb410db18e42883febe04277f74e80a833399c17 (patch) | |
tree | 815dfea9402d9f64bc4bb683f022510e809724d6 /resources/scripts/helpers/build/release/docs | |
parent | 54f5b2622fb3765ba0b68c0f33450f299e86f540 (diff) | |
download | libreboot-eb410db18e42883febe04277f74e80a833399c17.zip libreboot-eb410db18e42883febe04277f74e80a833399c17.tar.gz libreboot-eb410db18e42883febe04277f74e80a833399c17.tar.bz2 |
release build scripts: add ChangeLog and NEWS to release
Diffstat (limited to 'resources/scripts/helpers/build/release/docs')
-rwxr-xr-x | resources/scripts/helpers/build/release/docs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/resources/scripts/helpers/build/release/docs b/resources/scripts/helpers/build/release/docs index 54faac5..c2099a0 100755 --- a/resources/scripts/helpers/build/release/docs +++ b/resources/scripts/helpers/build/release/docs @@ -45,6 +45,16 @@ rm -Rf "${distdir:?}/" mkdir -p "${distdir}/" cp -r docs/* "${distdir}/" +# this has to be done before generating +# the "version" file +if [ ! -f "version" ]; then + # generate ChangeLog and NEWS files + rm -f "ChangeLog" "NEWS" + git log > "${distdir}/ChangeLog" + cp "${distdir}/ChangeLog" "${distdir}/NEWS" +fi + +# include version information printf '%s\n' "${version}" >"${distdir}/version" printf 'Creating compressed documentation archive at %s\n' "${distdir}.tar.xz" |