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"
|
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:
|
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
|
needs: report-coverage
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
@ -82,7 +81,4 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
run: poetry build
|
run: poetry build
|
||||||
- name: Publish
|
- name: Publish
|
||||||
# TODO update repo and username/pw
|
run: poetry publish -u __token__ -p ${{ secrets.PYPI_TOKEN }}
|
||||||
run: |
|
|
||||||
poetry config repositories.testpypi https://test.pypi.org/simple/
|
|
||||||
poetry publish -r testpypi -u __token__ -p ${{ secrets.PYPI_TOKEN_TEST }}
|
|
||||||
|
|
|
@ -4,8 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
||||||
|
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "youtube-transcript-api"
|
name = "youtube-transcript-api"
|
||||||
# TODO change back to .2
|
version = "0.6.2"
|
||||||
version = "0.6.3"
|
|
||||||
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!"
|
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"
|
readme = "README.md"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
Loading…
Reference in New Issue