]> git.notmuchmail.org Git - notmuch/blobdiff - Makefile.local
make release: Don't print the release message on stdout.
[notmuch] / Makefile.local
index e112072743960951f3896f7b2944e4a11951cc91..53a4a94bd9e8b83ddc1f54f919012dee051e5bb8 100644 (file)
@@ -79,11 +79,8 @@ release: verify-no-dirty-code
        mv $(TAR_FILE) $(SHA1_FILE) $(GPG_FILE) releases
        git tag -s -m "$(PACKAGE) $(VERSION) release" $(VERSION)
        git push origin $(VERSION)
-       @echo "Please send a release announcement as follows:"
-       @echo ""
-       $(MAKE) release-message
        $(MAKE) release-message > $(PACKAGE)-$(VERSION).announce
-       @echo "(This message is also available in $(PACKAGE)-$(VERSION).announce"
+       @echo "Please send a release announcement using $(PACKAGE)-$(VERSION).announce as a template."
 
 .PHONY: release-message
 release-message:
@@ -105,7 +102,7 @@ release-message:
        @echo ""
        @echo "What's new in notmuch $(VERSION)"
        @echo "========================="
-       @sed -ne '/^[Nn]otmuch 0.1/{n;n;b NEWS}; d; :NEWS /^===/q; {p;n;b NEWS}' < NEWS | head -n -2
+       @sed -ne '/^[Nn]otmuch $(VERSION)/{n;n;b NEWS}; d; :NEWS /^===/q; {p;n;b NEWS}' < NEWS | head -n -2
        @echo ""
        @echo "What is notmuch"
        @echo "==============="