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+"