Commit 8fd7459b authored by Richard Mansfield's avatar Richard Mansfield

Refuse to run release script when ChangeLog is missing and it's a stable release

parent b6484648
......@@ -77,6 +77,10 @@ fi
# Edit ChangeLog
if [ -z "${MICRO}" ] && [ ! -f "ChangeLog" ]; then
echo "The ChangeLog file is missing and this is a stable release. Create an empty file called ChangeLog and commit it."
exit 1
fi
RELEASE="${MAJOR}.${MINOR}${MICRO}"
......
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