You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by on...@apache.org on 2020/04/25 05:22:11 UTC

[geode] branch develop updated: GEODE-8023: add old version on support branch too (#4995)

This is an automated email from the ASF dual-hosted git repository.

onichols pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 326f228  GEODE-8023: add old version on support branch too (#4995)
326f228 is described below

commit 326f228c836aee8982d5581d36eba11f0dadc151
Author: Owen Nichols <34...@users.noreply.github.com>
AuthorDate: Fri Apr 24 22:21:39 2020 -0700

    GEODE-8023: add old version on support branch too (#4995)
---
 dev-tools/release/promote_rc.sh | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/dev-tools/release/promote_rc.sh b/dev-tools/release/promote_rc.sh
index f749997..2e0d0f0 100755
--- a/dev-tools/release/promote_rc.sh
+++ b/dev-tools/release/promote_rc.sh
@@ -327,7 +327,7 @@ fi
 
 echo ""
 echo "============================================================"
-echo "Updating 'old' versions and Benchmarks baseline"
+echo "Updating 'old' versions and Benchmarks baseline on develop"
 echo "============================================================"
 set -x
 cd ${GEODE_DEVELOP}
@@ -377,6 +377,27 @@ set +x
 
 echo ""
 echo "============================================================"
+echo "Updating 'old' versions on support/$VERSION_MM"
+echo "============================================================"
+set -x
+cd ${GEODE}
+git pull
+set +x
+#add at the end as this release will always be the latest on this branch
+sed -e "s/].each/,\\
+ '${VERSION}'].each/" \
+  -i.bak settings.gradle
+rm settings.gradle.bak
+set -x
+git add settings.gradle
+git diff --staged
+git commit -m "add ${VERSION} to old versions on support/$VERSION_MM"
+git push
+set +x
+
+
+echo ""
+echo "============================================================"
 echo "Removing old versions from mirrors"
 echo "============================================================"
 set -x