X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=release.sh;h=631ff42561f7b527ee80ec659787263c9669ebc6;hb=3191be366d0f7d034e66f13019b4c7ea65b34f8d;hp=3c7ddd85bd5009aed657d4c293e1b83af3ca0fea;hpb=fe8003ef4ff0e04a926414e15a9a79ac37797442;p=i3%2Fi3 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+"