You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by vb...@apache.org on 2019/09/13 16:54:57 UTC

[incubator-hudi] branch master updated: [HUDI-249] Fix cut_release_branch script

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

vbalaji pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hudi.git


The following commit(s) were added to refs/heads/master by this push:
     new 36c74c8  [HUDI-249] Fix cut_release_branch script
36c74c8 is described below

commit 36c74c8a160660f8f3790dbb5da7e30dd7c4b32a
Author: Balaji Varadarajan <va...@uber.com>
AuthorDate: Fri Sep 13 09:54:39 2019 -0700

    [HUDI-249] Fix cut_release_branch script
---
 release/scripts/cut_release_branch.sh | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/release/scripts/cut_release_branch.sh b/release/scripts/cut_release_branch.sh
index da9c540..c55ea53 100755
--- a/release/scripts/cut_release_branch.sh
+++ b/release/scripts/cut_release_branch.sh
@@ -105,12 +105,12 @@ fi
 
 git commit -am "Moving to ${NEXT_VERSION_IN_BASE_BRANCH}-SNAPSHOT on master branch."
 
-#if git push origin ${MASTER_BRANCH}; then
-#  break
-#else
-#  clean_up
-#  exit
-#fi
+if git push origin ${MASTER_BRANCH}; then
+  break
+else
+  clean_up
+  exit
+fi
 
 # Checkout and update release branch - Add incubating and remove snapshot
 git checkout ${RELEASE_BRANCH}
@@ -133,6 +133,6 @@ if [[ $confirmation != "y" ]]; then
 fi
 
 git commit -am "Create release branch for version ${RELEASE}."
-#git push --set-upstream origin ${RELEASE_BRANCH}
+git push --set-upstream origin ${RELEASE_BRANCH}
 
 clean_up