Skip to content

Commit 2923b5f

Browse files
committed
fix: use main as default branch
1 parent 4079b0d commit 2923b5f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def mat_model(self, gem):
6666
def pr_target(self):
6767
return self.config['BASE']['pull_request_target']
6868

69-
def git_clone(self, section, branch='master'):
69+
def git_clone(self, section, branch='main'):
7070
sp.check_call(['git', 'clone', self.config[section][URL], '--depth', '1', '--branch', branch, self.install_dir(section)], stdout=sp.DEVNULL, stderr=sp.STDOUT)
7171

7272
def download(self, gem):
@@ -132,7 +132,7 @@ def check_dependencies(self):
132132
l.info('{} is still {}'.format(tool, tool_version))
133133
# Check COBRA, RAVEN, GECKO versions
134134
self.cleanup('GECKO')
135-
self.git_clone('GECKO')
135+
self.git_clone('GECKO', self.config['GECKO']['branch'])
136136
for tool in ['COBRA', 'RAVEN', 'GECKO']:
137137
tool_version = self.git_tag(tool)
138138
if tool_version != self.version(tool):

0 commit comments

Comments
 (0)