Use 'main' as default branch in services-to-main.sh. (#6330)
This commit is contained in:
parent
ff13c99818
commit
e3ad7d2e1f
@ -9,7 +9,7 @@ function get_upstream_branch {
|
|||||||
return
|
return
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
local BRANCH_NAME=master
|
local BRANCH_NAME=main
|
||||||
local exists=`git show-ref refs/heads/$BRANCH_NAME`
|
local exists=`git show-ref refs/heads/$BRANCH_NAME`
|
||||||
if [[ -z $exists ]]; then
|
if [[ -z $exists ]]; then
|
||||||
BRANCH_NAME=main
|
BRANCH_NAME=main
|
||||||
|
Loading…
Reference in New Issue
Block a user