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:
parent
1e73112a9a
commit
22d196a058
@ -19,7 +19,7 @@ echo "$NEW_VERSION" > newchangelog
|
|||||||
git shortlog "$OLD_VERSION".. >> newchangelog
|
git shortlog "$OLD_VERSION".. >> newchangelog
|
||||||
cat CHANGELOG.md >> newchangelog
|
cat CHANGELOG.md >> newchangelog
|
||||||
|
|
||||||
emacs newchangelog
|
emacs newchangelog --eval "(text-mode)"
|
||||||
|
|
||||||
echo -n "All fine, ready to release? [y/N]"
|
echo -n "All fine, ready to release? [y/N]"
|
||||||
read a
|
read a
|
||||||
@ -49,8 +49,6 @@ highlights=$(cat CHANGELOG.md | sed -e "/$OLD_VERSION/,\$d")
|
|||||||
prolog=release-email.txt
|
prolog=release-email.txt
|
||||||
echo \
|
echo \
|
||||||
"
|
"
|
||||||
Subject: [ANNOUNCE] Release $NEW_VERSION
|
|
||||||
|
|
||||||
Hi,
|
Hi,
|
||||||
|
|
||||||
A new release $NEW_VERSION is available. A big thanks to all contributors:
|
A new release $NEW_VERSION is available. A big thanks to all contributors:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user