]> err.no Git - yubikey-personalization.old/commitdiff
Sanity check NEWS before release.
authorsimon75j <simon75j@b62f149e-849f-11dd-9899-c7ba65f7c4c7>
Tue, 8 Sep 2009 08:47:20 +0000 (08:47 +0000)
committersimon75j <simon75j@b62f149e-849f-11dd-9899-c7ba65f7c4c7>
Tue, 8 Sep 2009 08:47:20 +0000 (08:47 +0000)
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@184 b62f149e-849f-11dd-9899-c7ba65f7c4c7

Makefile.am

index 6d8b46875ebc15a97018077100bdf4e10357f83a..0ee79861b7a3471167fff641965ce5edd74b1cfd 100644 (file)
@@ -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