From: simon75j Date: Tue, 8 Sep 2009 08:47:20 +0000 (+0000) Subject: Sanity check NEWS before release. X-Git-Tag: yubikey-personalisation_1.0-1~21 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa77eeef81f5127d43d92a9b957bdc900ab95b9d;p=yubikey-personalization.old Sanity check NEWS before release. git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@184 b62f149e-849f-11dd-9899-c7ba65f7c4c7 --- 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