Updated Branches: refs/heads/4.1 51bda0a5c -> c551f854a
Adding a hack to the RC spin script that removes all references to -SNAPSHOT from the debian/rules file. Also added an automatic revert of the verion bump to sure that I don't forget to do that. Signed-off-by: Chip Childers <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c551f854 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c551f854 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c551f854 Branch: refs/heads/4.1 Commit: c551f854abc15ec2b98e30757703a3b6996e6f7f Parents: 51bda0a Author: Chip Childers <[email protected]> Authored: Tue Apr 23 19:48:30 2013 +0100 Committer: Chip Childers <[email protected]> Committed: Tue Apr 23 19:48:30 2013 +0100 ---------------------------------------------------------------------- tools/build/build_asf.sh | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c551f854/tools/build/build_asf.sh ---------------------------------------------------------------------- diff --git a/tools/build/build_asf.sh b/tools/build/build_asf.sh index a4a4706..88f0e94 100755 --- a/tools/build/build_asf.sh +++ b/tools/build/build_asf.sh @@ -94,6 +94,13 @@ mvn versions:set -DnewVersion=$version -P vmware -P developer -P systemvm -P sim mv deps/XenServerJava/pom.xml.versionsBackup deps/XenServerJava/pom.xml perl -pi -e 's/$ENV{'currentversion'}/$ENV{'version'}/' deps/XenServerJava/pom.xml perl -pi -e 's/$ENV{'currentversion'}/$ENV{'version'}/' tools/apidoc/pom.xml + +case "$version" in + *-SNAPSHOT*) + perl -pi -e 's/-SNAPSHOT//' debian/rules + ;; +esac + git clean -f echo 'commit changes' @@ -158,4 +165,7 @@ if [ "$committosvn" == "yes" ]; then svn commit -m "Committing release candidate artifacts for $version to dist/dev/cloudstack in preparation for release vote" fi +echo 'revert version changes' +git revert --no-edit $commitsh + echo "completed. use commit-sh of $commitsh when starting the VOTE thread"
