mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-01-28 09:18:54 -05:00
update: force checkout .gitlab-ci.yml when updating git mirrors
closes #309
This commit is contained in:
@@ -393,7 +393,7 @@ def update_servergitmirrors(servergitmirrors, repo_section):
|
||||
if remote.name == 'gitlab':
|
||||
logging.debug('Removing .gitlab-ci.yml now that it has successfully deployed')
|
||||
repo.index.reset('HEAD^')
|
||||
repo.index.checkout()
|
||||
repo.index.checkout(force=True)
|
||||
|
||||
if progress:
|
||||
bar.done()
|
||||
|
||||
Reference in New Issue
Block a user