"git@developer.sourcefind.cn:OpenDAS/fairscale.git" did not exist on "cb72ae54bcfb2ee4597de078c31f30b3a4312908"
Unverified Commit 2060576e authored by Francisco Massa's avatar Francisco Massa Committed by GitHub
Browse files

Change approach for rebase to master (#1427)

parent a141363f
...@@ -20,8 +20,7 @@ commands: ...@@ -20,8 +20,7 @@ commands:
set -ex set -ex
BRANCH=$(git rev-parse --abbrev-ref HEAD) BRANCH=$(git rev-parse --abbrev-ref HEAD)
if [[ "$BRANCH" != "master" ]]; then if [[ "$BRANCH" != "master" ]]; then
git fetch --force origin ${CIRCLE_BRANCH}/merge:merged/${CIRCLE_BRANCH} git merge origin/master
git checkout "merged/$CIRCLE_BRANCH"
fi fi
binary_common: &binary_common binary_common: &binary_common
......
...@@ -20,8 +20,7 @@ commands: ...@@ -20,8 +20,7 @@ commands:
set -ex set -ex
BRANCH=$(git rev-parse --abbrev-ref HEAD) BRANCH=$(git rev-parse --abbrev-ref HEAD)
if [[ "$BRANCH" != "master" ]]; then if [[ "$BRANCH" != "master" ]]; then
git fetch --force origin ${CIRCLE_BRANCH}/merge:merged/${CIRCLE_BRANCH} git merge origin/master
git checkout "merged/$CIRCLE_BRANCH"
fi fi
binary_common: &binary_common binary_common: &binary_common
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment