mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 17:36:59 +02:00
.github: Checkout our base branch in SDK coreos-overlay too
This commit is contained in:
parent
afe689a3e3
commit
482651582d
@ -44,6 +44,7 @@ function prepare_git_repo() {
|
|||||||
# setup overlay repo inside SDK too (be fork friendly)
|
# setup overlay repo inside SDK too (be fork friendly)
|
||||||
git -C "${SDK_OUTER_SRCDIR}/third_party/coreos-overlay" remote add our_remote "${our_remote_url}"
|
git -C "${SDK_OUTER_SRCDIR}/third_party/coreos-overlay" remote add our_remote "${our_remote_url}"
|
||||||
git -C "${SDK_OUTER_SRCDIR}/third_party/coreos-overlay" fetch our_remote
|
git -C "${SDK_OUTER_SRCDIR}/third_party/coreos-overlay" fetch our_remote
|
||||||
|
git -C "${SDK_OUTER_SRCDIR}/third_party/coreos-overlay" checkout -B "${BASE_BRANCH}" "our_remote/${BASE_BRANCH}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# caller needs to set pass a parameter as a branch name to be created.
|
# caller needs to set pass a parameter as a branch name to be created.
|
||||||
|
Loading…
Reference in New Issue
Block a user