Commit b1103a2c authored by Glenn Morris's avatar Glenn Morris

* make-dist: Check a release has a ChangeLog with a release notice.

parent ed226a5b
......@@ -297,6 +297,21 @@ if [ $check = yes ]; then
make --question info || error=yes
fi
## Is this a release?
case $version in
[1-9][0-9].[0-9])
if [ -e ChangeLog ]; then
if ! grep -q "Version $version released" ChangeLog; then
echo "No release notice in ChangeLog"
error=yes
fi
else
echo "A release must have a ChangeLog"
error=yes
fi
;;
esac
if [ $error = yes ]; then
echo "Failed checks" >&2
exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment