From 2ae5dba961b8b561526d7a7ab04086cba439983f Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Fri, 30 Dec 2016 14:37:03 +0100 Subject: [PATCH] Fix up the changelog Just use a dummy changelog entry about the release and fix a syntax error in the entry footer. The changelog should not contain the contents of Changelog.md as this results in an unparsable Debian changelog. The game's changelog is already available as CHANGELOG.html in /usr/share/doc/openra. --- packaging/linux/deb/buildpackage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/linux/deb/buildpackage.sh b/packaging/linux/deb/buildpackage.sh index 244385d1e7..59f8b37401 100755 --- a/packaging/linux/deb/buildpackage.sh +++ b/packaging/linux/deb/buildpackage.sh @@ -43,8 +43,8 @@ gzip -9 "${DEB_BUILD_ROOT}/${DOCDIR}/AUTHORS" DATE=`date -R` echo -e "openra (${VERSION}) unstable; urgency=low\n" > "${DEB_BUILD_ROOT}/${DOCDIR}/changelog" -cat "../../../Changelog.md" >> "${DEB_BUILD_ROOT}/${DOCDIR}/changelog" -echo -e "\n\n-- Paul Chote ${DATE}" >> "${DEB_BUILD_ROOT}/${DOCDIR}/changelog" +echo -e " * New upstream release: $TAG" >> "${DEB_BUILD_ROOT}/${DOCDIR}/changelog" +echo -e "\n -- Paul Chote ${DATE}" >> "${DEB_BUILD_ROOT}/${DOCDIR}/changelog" gzip -9 "${DEB_BUILD_ROOT}/${DOCDIR}/changelog" rm "${DEB_BUILD_ROOT}/${LIBDIR}/COPYING"