Dont append GPG signature twice to release file descs

This commit is contained in:
Kovid Goyal 2021-05-07 06:13:21 +05:30
parent dd0130180b
commit 0d08014bd5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -355,7 +355,7 @@ def run_upload(args: Any) -> None:
files[f'build/kitty-{version}.tar.xz.sig'] = 'Source code GPG signature'
for path, desc in signatures.items():
sign_file(path)
files[path + '.sig'] = desc + ' GPG signature'
files[path + '.sig'] = desc
for f in files:
if not os.path.exists(f):
raise SystemExit(f'The release artifact {f} does not exist')