Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
@@ -22,6 +22,7 @@ jobs:
|
|||||||
git clone --depth=10 --branch master --single-branch ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} repo
|
git clone --depth=10 --branch master --single-branch ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} repo
|
||||||
cd repo
|
cd repo
|
||||||
git remote add --no-tags --fetch --track master upstream https://github.com/${GITHUB_REPOSITORY}
|
git remote add --no-tags --fetch --track master upstream https://github.com/${GITHUB_REPOSITORY}
|
||||||
|
git pull --rebase upstream master
|
||||||
git push -u upstream master
|
git push -u upstream master
|
||||||
git merge --allow-unrelated-histories "upstream/master"
|
git merge --allow-unrelated-histories "upstream/master"
|
||||||
git push --progress
|
git push --progress
|
||||||
@@ -33,6 +34,7 @@ jobs:
|
|||||||
git clone --depth=10 --branch v3 --single-branch ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} repo
|
git clone --depth=10 --branch v3 --single-branch ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} repo
|
||||||
cd repo
|
cd repo
|
||||||
git remote add --no-tags --fetch --track v3 upstream https://github.com/${GITHUB_REPOSITORY}
|
git remote add --no-tags --fetch --track v3 upstream https://github.com/${GITHUB_REPOSITORY}
|
||||||
|
git pull --rebase upstream v3
|
||||||
git push -u upstream v3
|
git push -u upstream v3
|
||||||
git merge --allow-unrelated-histories "upstream/v3"
|
git merge --allow-unrelated-histories "upstream/v3"
|
||||||
git push --progress
|
git push --progress
|
||||||
@@ -44,6 +46,7 @@ jobs:
|
|||||||
git clone --depth=10 --branch v4 --single-branch ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} repo
|
git clone --depth=10 --branch v4 --single-branch ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} repo
|
||||||
cd repo
|
cd repo
|
||||||
git remote add --no-tags --fetch --track v4 upstream https://github.com/${GITHUB_REPOSITORY}
|
git remote add --no-tags --fetch --track v4 upstream https://github.com/${GITHUB_REPOSITORY}
|
||||||
|
git pull --rebase upstream v4
|
||||||
git push -u upstream v4
|
git push -u upstream v4
|
||||||
git merge --allow-unrelated-histories "upstream/v4"
|
git merge --allow-unrelated-histories "upstream/v4"
|
||||||
git push --progress
|
git push --progress
|
||||||
|
Reference in New Issue
Block a user