From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com ([143.182.124.37]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SRJVR-0000zW-K5 for linux-mtd@lists.infradead.org; Mon, 07 May 2012 08:41:23 +0000 From: Artem Bityutskiy To: MTD Maling List Subject: [PATCH] make_a_release.sh: suggest announcement e-mail Date: Mon, 7 May 2012 11:44:38 +0300 Message-Id: <1336380278-13532-1-git-send-email-dedekind1@gmail.com> Cc: "Josh Boyer \(Fedora\)" , "Riku Voipio \(Debian\)" List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 -- 1.7.7.6