mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-09-28 23:56:39 -04:00
update: force checkout .gitlab-ci.yml when updating git mirrors
closes #309
This commit is contained in:
1 parent
523b5f4777
commit
d8954fc033
1 file changed
+1
-1
@@ -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