From 8ba28ee8dbee978a2bff2bc4ca3ccf58f4fdd91a Mon Sep 17 00:00:00 2001 From: omegacoreFLL Date: Thu, 29 Aug 2024 15:57:49 +0300 Subject: [PATCH] v0.0.5.1 --- .github/workflows/auto-publish.yaml | 31 +++++++++++++++++++++++++++++ setup.py | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/auto-publish.yaml diff --git a/.github/workflows/auto-publish.yaml b/.github/workflows/auto-publish.yaml new file mode 100644 index 0000000..a85e78c --- /dev/null +++ b/.github/workflows/auto-publish.yaml @@ -0,0 +1,31 @@ +name: Publish PythFider + +on: + push: + tags: + - 'v*' + +jobs: + deploy: + runs-on: ubuntu-latest + environment: PythFinder + + steps: + - uses: actions/checkout@v3 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.x' + + - name: Install dependencies + run: pip install setuptools wheel twine + + - name: Build the package + run: python setup.py sdist bdist_wheel + + - 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 diff --git a/setup.py b/setup.py index 48ab7c5..0476f16 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name = 'pythfinder', - version = '0.0.5.0', + version = '0.0.5.1', license = 'MIT', author = 'ContraČ™ Adrian', author_email = 'omegacoresincai@gmail.com',