update debian package changelog on version upgrade

This commit is contained in:
Daan Hoogland 2014-11-20 15:14:34 +01:00
parent 82d74daf65
commit 892ba6ea80
1 changed files with 12 additions and 0 deletions

View File

@ -102,6 +102,18 @@ case "$currentversion" in
;;
esac
# set debian changelog entry
tmpfilenm=$$.tmp
echo "cloudstack ($version) unstable; urgency=low" >>$tmpfilenm
echo >>$tmpfilenm
echo " * Update the version to $version" >>$tmpfilenm
echo >>$tmpfilenm
echo " -- the Apache CloudStack project <dev@cloudstack.apache.org> `date -j '+%a, %d %b %Y %T %z'`" >>$tmpfilenm
echo >>$tmpfilenm
cat debian/changelog >>$tmpfilenm
mv $tmpfilenm debian/changelog
git clean -f
#create a RC branch