publish is now automatically executed for new tags
This commit is contained in:
parent
ee996f77f1
commit
7881a1d897
|
@ -64,8 +64,7 @@ jobs:
|
|||
carryforward: "run-python-3.8,run-python-3.9,run-python-3.10,run-python-3.11,run-python-3.12,run-python-3.13"
|
||||
|
||||
publish:
|
||||
# TODO
|
||||
# if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
||||
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
||||
needs: report-coverage
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
@ -82,7 +81,4 @@ jobs:
|
|||
- name: Build
|
||||
run: poetry build
|
||||
- name: Publish
|
||||
# TODO update repo and username/pw
|
||||
run: |
|
||||
poetry config repositories.testpypi https://test.pypi.org/simple/
|
||||
poetry publish -r testpypi -u __token__ -p ${{ secrets.PYPI_TOKEN_TEST }}
|
||||
run: poetry publish -u __token__ -p ${{ secrets.PYPI_TOKEN }}
|
||||
|
|
|
@ -4,8 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|||
|
||||
[tool.poetry]
|
||||
name = "youtube-transcript-api"
|
||||
# TODO change back to .2
|
||||
version = "0.6.3"
|
||||
version = "0.6.2"
|
||||
description = "This is an python API which allows you to get the transcripts/subtitles for a given YouTube video. It also works for automatically generated subtitles, supports translating subtitles and it does not require a headless browser, like other selenium based solutions do!"
|
||||
readme = "README.md"
|
||||
license = "MIT"
|
||||
|
|
Loading…
Reference in New Issue