1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-08-14 16:38:29 +00:00

[build] entrypoint script fixes

Authored by: bashonly
This commit is contained in:
bashonly 2025-08-11 14:19:56 -05:00
parent 5503e2eecb
commit 08f2f1d641
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0
2 changed files with 7 additions and 8 deletions

View File

@ -154,7 +154,6 @@ jobs:
docker compose up --build linux_${{ matrix.platform }}
sudo chown "${USER}:docker" ~/build/${{ matrix.exe }}
chmod +x ~/build/${{ matrix.exe }}
# docker compose can fail with exit code 0, so we need to check the exe here
~/build/${{ matrix.exe }} --version
- name: Verify --update-to
if: vars.UPDATE_TO_VERIFICATION

View File

@ -1,11 +1,11 @@
#!/bin/bash
set -e
set -exuo pipefail
python3.13 -m venv ~/yt-dlp-build-venv
python3 -m venv ~/yt-dlp-build-venv
source ~/yt-dlp-build-venv/bin/activate
python3.13 -m devscripts.install_deps -o --include build
python3.13 -m devscripts.install_deps --include secretstorage --include curl-cffi --include pyinstaller
python3.13 -m devscripts.make_lazy_extractors
python3.13 devscripts/update-version.py -c "${channel}" -r "${origin}" "${version}"
python3.13 -m bundle.pyinstaller
python3 -m devscripts.install_deps -o --include build
python3 -m devscripts.install_deps --include secretstorage --include curl-cffi --include pyinstaller
python3 -m devscripts.make_lazy_extractors
python3 devscripts/update-version.py -c "${channel}" -r "${origin}" "${version}"
python3 -m bundle.pyinstaller
mv dist/* /build/