1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 02:32:33 +01:00

[workflows:executables] restore 'gallery-dl_ubuntu' name

This commit is contained in:
Mike Fährmann 2024-05-28 22:17:53 +02:00
parent 53aadb0c44
commit 05f8435e09
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 3 additions and 6 deletions

View File

@ -68,7 +68,7 @@ jobs:
- name: Build executable
run: |
pip install requests requests[socks] yt-dlp pyyaml ${{ matrix.python-packages }} pyinstaller
python ./scripts/pyinstaller.py --label '${{ env.LABEL }}'
python ./scripts/pyinstaller.py --os '${{ matrix.os }}' --arch '${{ matrix.architecture }}'
- uses: actions/upload-artifact@v4
with:

View File

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