From 55676fe498345a389a2539d8baaba958d6d61c3e Mon Sep 17 00:00:00 2001 From: bashonly Date: Fri, 3 Mar 2023 21:54:20 -0600 Subject: [PATCH] [build] Fix publishing to PyPI and homebrew Closes #6411 Authored by: bashonly --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 329d49af8..e07fc0c07 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,6 +64,7 @@ jobs: - name: Install Requirements run: | + sudo apt-get -y install pandoc man python -m pip install -U pip setuptools wheel twine python -m pip install -U -r requirements.txt @@ -79,6 +80,7 @@ jobs: if: env.TWINE_PASSWORD != '' run: | rm -rf dist/* + make pypi-files python devscripts/set-variant.py pip -M "You installed yt-dlp with pip or using the wheel from PyPi; Use that to update" python setup.py sdist bdist_wheel twine upload dist/*