diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index efdcd44d9..e13bc0a50 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 d82f326ff..d18c49c36 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/