Skip to content

Commit

Permalink
board-game-data master -> main
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusShepherd committed Jan 27, 2024
1 parent 9e3526a commit 9823f2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def gitprepare(repo=SCRAPED_DATA_DIR):
LOGGER.info("Preparing Git repo <%s>...", repo)
with safe_cd(repo):
try:
execute("git", "checkout", "master")
execute("git", "checkout", "main")
execute("git", "pull", "--ff-only")
execute("git", "diff", "HEAD", "--name-only")
except SystemExit:
Expand Down Expand Up @@ -181,7 +181,7 @@ def gitupdate(*paths, repo=SCRAPED_DATA_DIR, name=__name__):
LOGGER.info("Nothing to commit...")

try:
execute("git", "push", "framagit", "master")
execute("git", "push", "framagit", "main")
except SystemExit:
LOGGER.exception("Unable to push...")

Expand Down

0 comments on commit 9823f2c

Please sign in to comment.