Code changes to support the master->main branch switch (#701)

This commit is contained in:
Joe Rickerby
2021-05-27 11:28:52 +02:00
committed by GitHub
parent 75b707ffb7
commit ab1b0f2f94
11 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -40,7 +40,7 @@ def main():
timestamp = time.strftime("%Y-%m-%dT%H-%M-%S", time.gmtime())
branch_name = f"update-constraints-{timestamp}"
shell(f"git checkout -b {branch_name} origin/master", check=True)
shell(f"git checkout -b {branch_name} origin/main", check=True)
try:
shell("bin/update_dependencies.py", check=True)
@@ -63,7 +63,7 @@ def main():
"pr",
"create",
"--repo=pypa/cibuildwheel",
"--base=master",
"--base=main",
"--title=Update dependencies",
f"--body='{body}'",
],