release: disable git’s rename protection (prevented merging)
This commit is contained in:
parent
e6b2fefe26
commit
8513107f09
|
@ -85,12 +85,12 @@ if [ "${RELEASE_BRANCH}" = "master" ]; then
|
||||||
git checkout master
|
git checkout master
|
||||||
git merge --no-ff release-${RELEASE_VERSION} -m "Merge branch 'release-${RELEASE_VERSION}'"
|
git merge --no-ff release-${RELEASE_VERSION} -m "Merge branch 'release-${RELEASE_VERSION}'"
|
||||||
git checkout next
|
git checkout next
|
||||||
git merge --no-ff -X ours master -m "Merge branch 'master' into next"
|
git merge --no-ff -s recursive -X ours -X no-renames master -m "Merge branch 'master' into next"
|
||||||
else
|
else
|
||||||
git checkout next
|
git checkout next
|
||||||
git merge --no-ff release-${RELEASE_VERSION} -m "Merge branch 'release-${RELEASE_VERSION}'"
|
git merge --no-ff release-${RELEASE_VERSION} -m "Merge branch 'release-${RELEASE_VERSION}'"
|
||||||
git checkout master
|
git checkout master
|
||||||
git merge --no-ff -X theirs next -m "Merge branch 'next' into master"
|
git merge --no-ff -s recursive -X theirs -X no-renames next -m "Merge branch 'next' into master"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git remote remove origin
|
git remote remove origin
|
||||||
|
|
Loading…
Reference in New Issue