mirror of
https://github.com/JHUAPL/kami.git
synced 2026-01-09 14:58:02 -05:00
chore(docs): We use main, not master
This commit is contained in:
@@ -94,11 +94,11 @@ highlight_language = 'cpp'
|
||||
# The short X.Y version.
|
||||
github_ref = os.getenv("GITHUB_REF", "")
|
||||
if github_ref == "":
|
||||
git_ref = "master"
|
||||
git_ref = "main"
|
||||
else:
|
||||
match = re.match(r"refs/(heads|tags|pull)/(?P<ref>.+)", github_ref)
|
||||
if not match:
|
||||
git_ref = "master"
|
||||
git_ref = "main"
|
||||
else:
|
||||
git_ref = match.group("ref")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user