From: Carl Worth Date: Fri, 16 Apr 2010 15:31:46 +0000 (-0700) Subject: Makefile: Fix "make release" to print the current release announcement. X-Git-Tag: 0.2~17 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=ff13111cf36298cde09e4ff85ec83fdd42b52f0a Makefile: Fix "make release" to print the current release announcement. This was accidentally hard-coded to always print the 0.1 NEWS blurb. --- diff --git a/Makefile.local b/Makefile.local index e1120727..1c3719e7 100644 --- a/Makefile.local +++ b/Makefile.local @@ -105,7 +105,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 "==============="