checkupdates: remove auto_author: config, it is no longer used

checkupdates-runner sets the required values anyway.
fe3cb890db/.gitlab-ci.yml (L35)
This commit is contained in:
Hans-Christoph Steiner 2025-02-24 11:58:38 +01:00
parent ecdf47d893
commit 56865f9ba6
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA

View file

@ -675,8 +675,6 @@ def checkupdates_app(app: metadata.App, auto: bool, commit: bool = False) -> Non
if commit: if commit:
logging.info("Commiting update for " + app.metadatapath) logging.info("Commiting update for " + app.metadatapath)
gitcmd = ["git", "commit", "-m", commitmsg] gitcmd = ["git", "commit", "-m", commitmsg]
if 'auto_author' in config:
gitcmd.extend(['--author', config['auto_author']])
gitcmd.extend(["--", app.metadatapath]) gitcmd.extend(["--", app.metadatapath])
if subprocess.call(gitcmd) != 0: if subprocess.call(gitcmd) != 0:
raise FDroidException("Git commit failed") raise FDroidException("Git commit failed")