[workflows:executables] change dev/linux binary name to …_linux

This reverts commit 05f8435e09.
This commit is contained in:
Mike Fährmann
2024-05-29 02:46:29 +02:00
parent e35317118a
commit 3d033a48ea
3 changed files with 15 additions and 5 deletions

View File

@@ -22,12 +22,15 @@ def main():
else:
label = ""
if args.os:
label += args.os.partition("-")[0].lower()
os = args.os.partition("-")[0].lower()
if os == "ubuntu":
os = "linux"
label += os
if args.arch == "x86":
label += "_x86"
if args.print:
return print(label.replace("ubuntu", "linux"))
return print(label)
name = "gallery-dl"
if label: