I used to always forget to update the ChangeLog before releasing sarg. It
won't happen if the archive script check that the ChangeLog contains an
entry for the current version and release date.
exit 1
fi
+# make sure the ChangeLog has been updated
+LogEntry=$(sed -n -e "1,5{;/^$ReleaseDate Version $Version$/p;}" $Sources/ChangeLog)
+if [ -z "$LogEntry" ] ; then
+ echo "ChangeLog not up to date"
+ echo "It should contain an entry for \"$ReleaseDate Version $Version\""
+ exit 1
+fi
+
# update the po files
if ( ! make update-po ) ; then
echo "Failed to update the po files"