release: Adjust to new maintainer's preferences

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Jan Kiszka 2019-09-11 12:39:42 +02:00
parent 0137a92f33
commit 8e36b4f72e

View File

@ -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 --eval "(text-mode)" $EDITOR newchangelog
echo -n "All fine, ready to release? [y/N]" echo -n "All fine, ready to release? [y/N]"
read a read a
@ -48,10 +48,9 @@ python setup.py sdist upload -r pypi
authors=$(git shortlog -s "$OLD_VERSION".."$NEW_VERSION" | cut -c8- | paste -s -d, - | sed -e 's/,/, /g') authors=$(git shortlog -s "$OLD_VERSION".."$NEW_VERSION" | cut -c8- | paste -s -d, - | sed -e 's/,/, /g')
highlights=$(cat CHANGELOG.md | sed -e "/$OLD_VERSION/,\$d") highlights=$(cat CHANGELOG.md | sed -e "/$OLD_VERSION/,\$d")
prolog=release-email.txt prolog=$PWD/release-email.txt
echo \ echo \
" "Hi all,
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:
$authors $authors
@ -59,7 +58,7 @@ $authors
Highlights in $highlights Highlights in $highlights
Thanks, Thanks,
Daniel Jan
https://github.com/siemens/kas/releases/tag/$NEW_VERSION https://github.com/siemens/kas/releases/tag/$NEW_VERSION
https://hub.docker.com/r/kasproject/kas/ https://hub.docker.com/r/kasproject/kas/
@ -68,4 +67,4 @@ https://hub.docker.com/r/kasproject/kas/
git shortlog $OLD_VERSION..$NEW_VERSION >> $prolog git shortlog $OLD_VERSION..$NEW_VERSION >> $prolog
neomutt -s "[ANNOUNCE] Release $NEW_VERSION" kas-devel@googlegroups.com < $prolog thunderbird -compose "subject=[ANNOUNCE] Release $NEW_VERSION,to=kas-devel@googlegroups.com,message=$prolog"