From: Michael Stapelberg Date: Sun, 29 Mar 2015 17:34:33 +0000 (+0200) Subject: release.sh: add release announcement email to avoid mistakes X-Git-Tag: 4.11~170 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3163ca33853c3b92ecec973a00e80377005bcf6d;p=i3%2Fi3 release.sh: add release announcement email to avoid mistakes --- diff --git a/release.sh b/release.sh index 3c7ddd85..631ff425 100755 --- a/release.sh +++ b/release.sh @@ -174,7 +174,23 @@ git remote remove origin git remote add origin git@github.com:i3/i3.github.io.git ################################################################################ -# Section 4: final push instructions +# Section 4: prepare release announcement email +################################################################################ + +cd ${TMPDIR} +cat >email.txt < +To: i3-announce@i3.zekjur.net +Subject: i3 v${RELEASE_VERSION} released + +Hi, + +I just released i3 v${RELEASE_VERSION}. Release notes follow: +EOT +cat ${TMPDIR}/i3/RELEASE-NOTES-${RELEASE_VERSION}.txt >>email.txt + +################################################################################ +# Section 5: final push instructions ################################################################################ echo "As a final sanity check, install the debian package and see whether i3 works." @@ -191,6 +207,9 @@ echo "" echo " cd ${TMPDIR}/debian" echo " dput *.changes" echo "" +echo " cd ${TMPDIR}" +echo " sendmail < email.txt" +echo "" echo "Announce on:" echo " twitter" echo " google+"