release.sh: add release announcement email to avoid mistakes
This commit is contained in:
parent
fe8003ef4f
commit
3163ca3385
21
release.sh
21
release.sh
|
@ -174,7 +174,23 @@ git remote remove origin
|
||||||
git remote add origin git@github.com:i3/i3.github.io.git
|
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 <<EOT
|
||||||
|
From: Michael Stapelberg <michael@i3wm.org>
|
||||||
|
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."
|
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 " cd ${TMPDIR}/debian"
|
||||||
echo " dput *.changes"
|
echo " dput *.changes"
|
||||||
echo ""
|
echo ""
|
||||||
|
echo " cd ${TMPDIR}"
|
||||||
|
echo " sendmail < email.txt"
|
||||||
|
echo ""
|
||||||
echo "Announce on:"
|
echo "Announce on:"
|
||||||
echo " twitter"
|
echo " twitter"
|
||||||
echo " google+"
|
echo " google+"
|
||||||
|
|
Loading…
Reference in New Issue