From 08f2f1d641704c7095d47aee477ea173d82b9816 Mon Sep 17 00:00:00 2001 From: bashonly Date: Mon, 11 Aug 2025 14:19:56 -0500 Subject: [PATCH] [build] entrypoint script fixes Authored by: bashonly --- .github/workflows/build.yml | 1 - bundle/docker/linux/entrypoint.sh | 14 +++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index efdcd44d98..e13bc0a50b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/bundle/docker/linux/entrypoint.sh b/bundle/docker/linux/entrypoint.sh index d82f326ff5..d18c49c364 100755 --- a/bundle/docker/linux/entrypoint.sh +++ b/bundle/docker/linux/entrypoint.sh @@ -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/