mirror of
https://github.com/MiSTer-devel/Distribution_MiSTer.git
synced 2026-05-17 03:03:37 +00:00
Fixing zips branch
This commit is contained in:
committed by
GitHub
parent
3f079c0ec8
commit
50f33dcea6
4
.github/calculate_db.py
vendored
4
.github/calculate_db.py
vendored
@@ -461,9 +461,7 @@ def create_db(folder, options, tags):
|
||||
if not run_conditional('git diff --quiet main origin/zips'):
|
||||
print('zip branch has changes')
|
||||
run_succesfully('git update-ref -d refs/remotes/origin/zips')
|
||||
run_succesfully('git push --force origin new_zips:zips2')
|
||||
print('forcing error')
|
||||
raise Error('boom')
|
||||
run_succesfully('git push --force origin new_zips:zips')
|
||||
else:
|
||||
print('Using old zip branch from origin')
|
||||
zip_sha = run_stdout('git rev-parse --verify origin/zip').strip()
|
||||
|
||||
Reference in New Issue
Block a user