From bdd8f53e4a166e96a69439a4b258c49a31dc10e7 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Tue, 8 Sep 2009 08:47:20 +0000 Subject: [PATCH] Sanity check NEWS before release. --- Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.am b/Makefile.am index 6d8b468..0ee7986 100644 --- a/Makefile.am +++ b/Makefile.am @@ -98,6 +98,10 @@ release: echo " make release USER=simon75j KEYID=B9156397"; \ exit 1; \ fi + @if head -3 NEWS | grep -q unreleased; then \ + echo "You need to update NEWS, see doc/MakeRelease.wiki."; \ + exit 1; \ + fi rm -f ChangeLog make check-doc-dist ChangeLog distcheck gpg --detach-sign --default-key $(KEYID) $(PACKAGE)-$(VERSION).tar.gz -- 2.39.5