mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-20 00:07:55 +00:00
branch: change 2.0-dev to main
Change all mentioning of 2.0-dev to main so that we can rename the default branch to main. Fixes: #1310 Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
@@ -144,7 +144,7 @@ main() {
|
||||
local repo_dir="kata-containers"
|
||||
git clone --quiet "https://${repo}.git" "${repo_dir}"
|
||||
pushd "${repo_dir}" >> /dev/null
|
||||
local branch=$(git branch -r -q --contains "${tag}" | grep -E "master|stable|2.0-dev" | grep -v HEAD)
|
||||
local branch=$(git branch -r -q --contains "${tag}" | grep -E "master|stable|main" | grep -v HEAD)
|
||||
|
||||
popd >> /dev/null
|
||||
rm -rf ${repo_dir}
|
||||
|
Reference in New Issue
Block a user