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