[build] Fix publishing to PyPI and homebrew

Closes #6411
Authored by: bashonly
pull/6418/head
bashonly 2023-03-03 21:54:20 -06:00
rodzic 354d5fca7a
commit 55676fe498
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 783F096F253D15B0
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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/*