scripts: Remove the double Subject line from releases script

The subject line is written by mutt.

While at it also start emacs in text mode for editing the changelog.

Signed-off-by: Daniel Wagner <daniel.wagner@siemens.com>
This commit is contained in:
Daniel Wagner 2018-03-06 10:21:01 +01:00
parent 1e73112a9a
commit 22d196a058

View File

@ -19,7 +19,7 @@ echo "$NEW_VERSION" > newchangelog
git shortlog "$OLD_VERSION".. >> newchangelog
cat CHANGELOG.md >> newchangelog
emacs newchangelog
emacs newchangelog --eval "(text-mode)"
echo -n "All fine, ready to release? [y/N]"
read a
@ -49,8 +49,6 @@ highlights=$(cat CHANGELOG.md | sed -e "/$OLD_VERSION/,\$d")
prolog=release-email.txt
echo \
"
Subject: [ANNOUNCE] Release $NEW_VERSION
Hi,
A new release $NEW_VERSION is available. A big thanks to all contributors: