8000 Merge pull request #5712 from jepler/website-main-branch · rsbohn/circuitpython@edabf67 · GitHub
[go: up one dir, main page]

Skip to content

Commit edabf67

Browse files
authored
Merge pull request adafruit#5712 from jepler/website-main-branch
reflect that the default branch of circuitpython-org is updated
2 parents a0553ea + 1dce9de commit edabf67

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/build_board_info.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,10 @@ def get_version_info():
160160

161161

162162
def get_current_info():
163-
response = github.get("/repos/adafruit/circuitpython-org/git/refs/heads/master")
163+
response = github.get("/repos/adafruit/circuitpython-org/git/refs/heads/main")
164164
if not response.ok:
165165
print(response.text)
166-
raise RuntimeError("cannot get master sha")
166+
raise RuntimeError("cannot get main sha")
167167
commit_sha = response.json()["object"]["sha"]
168168

169169
response = github.get(
@@ -235,7 +235,7 @@ def create_pr(changes, updated, git_info, user):
235235
pr_info = {
236236
"title": pr_title,
237237
"head": user + ":" + branch_name,
238-
"base": "master",
238+
"base": "main",
239239
"body": message,
240240
"maintainer_can_modify": True,
241241
}

0 commit comments

Comments
 (0)
0