diff --git a/.github/workflows/auto-publish.yaml b/.github/workflows/auto-publish.yaml index a85e78c..b4488ec 100644 --- a/.github/workflows/auto-publish.yaml +++ b/.github/workflows/auto-publish.yaml @@ -2,8 +2,8 @@ name: Publish PythFider on: push: - tags: - - 'v*' + branches: + - main jobs: deploy: @@ -26,6 +26,9 @@ jobs: - name: Publish to PyPI env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - run: twine upload dist/* \ No newline at end of file + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} + run: | + echo "Token Length: ${#TWINE_PASSWORD}" + twine --version + twine upload --repository-url https://upload.pypi.org/legacy/ dist/* \ No newline at end of file diff --git a/setup.py b/setup.py index 0476f16..9665f64 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,10 @@ from setuptools import setup, find_packages +# just a test + setup( name = 'pythfinder', - version = '0.0.5.1', + version = '0.0.5.02', license = 'MIT', author = 'ContraČ™ Adrian', author_email = 'omegacoresincai@gmail.com',