Use 'main' as default branch in services-to-main.sh. (#6330)

This commit is contained in:
Emanuel Schütze 2022-01-13 19:10:34 +01:00 committed by GitHub
parent ff13c99818
commit e3ad7d2e1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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