You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2014/11/25 15:12:10 UTC
git commit: updated refs/heads/master to ef2aa2c
Repository: cloudstack
Updated Branches:
refs/heads/master 8cca0b224 -> ef2aa2c52
sign release branch instead of release tree
edit checkstyle pom on rc creation
xapi release version dep
update debian package changelog on version upgrade
sign release branch instead of release tree
(cherry picked from commit dd508b3b9fd4a630545949685beb648115803a85)
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/ef2aa2c5
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ef2aa2c5
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ef2aa2c5
Branch: refs/heads/master
Commit: ef2aa2c5297b547eff7f395f4a0f2e2c5bb28eed
Parents: 8cca0b2
Author: Daan Hoogland <dh...@schubergphilis.com>
Authored: Mon Jun 30 17:53:17 2014 +0200
Committer: Daan Hoogland <da...@onecht.net>
Committed: Tue Nov 25 15:11:58 2014 +0100
----------------------------------------------------------------------
tools/build/build_asf.sh | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ef2aa2c5/tools/build/build_asf.sh
----------------------------------------------------------------------
diff --git a/tools/build/build_asf.sh b/tools/build/build_asf.sh
index e75da60..aec5b2e 100644
--- a/tools/build/build_asf.sh
+++ b/tools/build/build_asf.sh
@@ -92,6 +92,8 @@ echo "found $currentversion"
echo 'setting version numbers'
mvn versions:set -DnewVersion=$version -P vmware -P developer -P systemvm -P simulator -P baremetal -P ucs -Dnoredist
mv deps/XenServerJava/pom.xml.versionsBackup deps/XenServerJava/pom.xml
+perl -pi -e "s/<cs.xapi.version>6.2.0-1-SNAPSHOT<\/cs.xapi.version>/<cs.xapi.version>6.2.0-1<\/cs.xapi.version>/" pom.xml
+perl -pi -e "s/-SNAPSHOT//" tools/checkstyle/pom.xml
perl -pi -e "s/-SNAPSHOT//" deps/XenServerJava/pom.xml
perl -pi -e "s/-SNAPSHOT//" tools/apidoc/pom.xml
case "$currentversion" in
@@ -100,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 <de...@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
@@ -115,7 +129,7 @@ export commitsh=`git show HEAD | head -n 1 | cut -d ' ' -f 2`
echo "committed as $commitsh"
echo 'archiving'
-git archive --format=tar --prefix=apache-cloudstack-$version-src/ $branch > $outputdir/apache-cloudstack-$version-src.tar
+git archive --format=tar --prefix=apache-cloudstack-$version-src/ $branch-$RELEASE_BRANCH > $outputdir/apache-cloudstack-$version-src.tar
bzip2 $outputdir/apache-cloudstack-$version-src.tar
cd $outputdir