Use full kitty-tool exe name in github description

This commit is contained in:
Kovid Goyal 2022-11-15 12:01:55 +05:30
parent 63d7b2a80b
commit 780d5400cb
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -398,8 +398,9 @@ def files_for_upload() -> Dict[str, str]:
b = len(files) b = len(files)
for path in glob.glob('build/static/kitty-tool-*'): for path in glob.glob('build/static/kitty-tool-*'):
path = os.path.abspath(path) path = os.path.abspath(path)
files[path] = 'Static kitty-tool executable' exe_name = os.path.basename(path)
signatures[path] = 'GPG signature for static kitty-tool executable' files[path] = f'Static {exe_name} executable'
signatures[path] = f'GPG signature for static {exe_name} executable'
if len(files) == b: if len(files) == b:
raise SystemExit('No static binaries found') raise SystemExit('No static binaries found')