Add update.py

This commit is contained in:
hlohaus 2025-06-13 22:40:08 +02:00
parent c4d4e3abeb
commit c2fd823c69
2 changed files with 1 additions and 2 deletions

1
.gitignore vendored
View file

@ -29,7 +29,6 @@ __pycache__/
build build
test.py test.py
update.py
cookie.json cookie.json
notes.txt notes.txt
close_issues.py close_issues.py

View file

@ -8,7 +8,7 @@ if __name__ == "__main__":
exit(0) exit(0)
command = ["git", "fetch"] command = ["git", "fetch"]
call(command, stderr=STDOUT) call(command, stderr=STDOUT)
command = ["git", "reset", "--hard", "master"] command = ["git", "reset", "--hard"]
call(command, stderr=STDOUT) call(command, stderr=STDOUT)
command = ["git" ,"pull", "origin", "main"] command = ["git" ,"pull", "origin", "main"]
call(command, stderr=STDOUT) call(command, stderr=STDOUT)