From patchwork Mon May 7 08:44:38 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: make_a_release.sh: suggest announcement e-mail Date: Sun, 06 May 2012 22:44:38 -0000 From: Artem Bityutskiy X-Patchwork-Id: 157275 Message-Id: <1336380278-13532-1-git-send-email-dedekind1@gmail.com> To: MTD Maling List Cc: "Josh Boyer \(Fedora\)" , "Riku Voipio \(Debian\)" From: Artem Bityutskiy The 'make_a_release.sh' script appears to be extremely useful - I do not forget things as I used to anymore (amending Makefile, signing, uploading to the FTP server, etc). It is very useful that it suggest me exact commands which I may just copy-past to my command line. This patch improves the script and makes it suggest the e-mail announcement which I may just copy-paste to my command line and the announcement will be sent using 'git send-email' command. It will include all the interested parties in CC. Signed-off-by: Artem Bityutskiy --- make_a_release.sh | 36 ++++++++++++++++++++++++++++++++++-- 1 files changed, 34 insertions(+), 2 deletions(-) I am now CCing all the people who will be CCed during the announcement. I'll send mtd-utils-1.5.0 announcement using this script shortly. diff --git a/make_a_release.sh b/make_a_release.sh index 460335b..44d67cc 100755 --- a/make_a_release.sh +++ b/make_a_release.sh @@ -57,10 +57,42 @@ git archive --format=tar --prefix="$release_name/" "$tag_name" | \ echo "Signing the tarball" gpg -o "$outdir/$release_name.tar.bz2.asc" --detach-sign -a "$outdir/$release_name.tar.bz2" -cat < \$mtd_tmpfile <' --cc 'Peter Korsgaard (buildroot) ' --cc 'Josh Boyer (Fedora) ' --cc 'Riku Voipio (Debian) ' \$mtd_tmpfile + +rm \$mtd_tmpfile +------------------------------------------------------------------------------ +EOF1