From 892ba6ea80e6ec6d65f53756bef6d483fc38e3e9 Mon Sep 17 00:00:00 2001 From: Daan Hoogland Date: Thu, 20 Nov 2014 15:14:34 +0100 Subject: [PATCH] update debian package changelog on version upgrade --- tools/build/build_asf.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tools/build/build_asf.sh b/tools/build/build_asf.sh index ea9b272d1d3..0f381a55e35 100644 --- a/tools/build/build_asf.sh +++ b/tools/build/build_asf.sh @@ -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 `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