You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by pa...@apache.org on 2018/07/19 00:01:34 UTC

[beam] branch master updated: Fix bugs in 'cut release branch step'

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

pabloem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 1fbc3b9  Fix bugs in 'cut release branch step'
1fbc3b9 is described below

commit 1fbc3b987f993a7213bd69819bdf5a5c54fc4314
Author: Boyuan Zhang <bo...@google.com>
AuthorDate: Wed Jul 18 16:24:11 2018 -0700

    Fix bugs in 'cut release branch step'
---
 release/src/main/scripts/cut_release_branch.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/release/src/main/scripts/cut_release_branch.sh b/release/src/main/scripts/cut_release_branch.sh
index db096f8..1477b64 100755
--- a/release/src/main/scripts/cut_release_branch.sh
+++ b/release/src/main/scripts/cut_release_branch.sh
@@ -123,7 +123,7 @@ echo "==============================================================="
 
 sed -i -e "s/${DEV}/${RELEASE}/g" sdks/python/apache_beam/version.py
 # TODO: [BEAM-4767]
-sed -i -e "s/beam-master-.*/beam-${RELEASE}/g" runners/google-cloud-dataflow-java/build.gradle
+sed -i -e "s/'beam-master-.*'/'beam-${RELEASE}'/g" runners/google-cloud-dataflow-java/build.gradle
 
 echo "===============Update release branch as following=============="
 git diff
@@ -139,7 +139,7 @@ fi
 
 git add sdks/python/apache_beam/version.py
 git add runners/google-cloud-dataflow-java/build.gradle
-git commit -f -m "Create release branch for version ${RELEASE}."
+git commit -m "Create release branch for version ${RELEASE}."
 git push --set-upstream origin ${RELEASE_BRANCH}
 
 clean_up