From d5f4a43931a6a5f18f3af282b3ecf44ef00317b9 Mon Sep 17 00:00:00 2001 From: Carme Pamy Date: Mon, 1 Jul 2024 11:09:47 -0400 Subject: [PATCH] bugfix: bump version and update github workflow --- .github/workflows/build.yml | 20 +++++++++++++++----- setup.cfg | 2 +- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 51f3456..90b515e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,9 +39,19 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - - name: Python Semantic Release - uses: python-semantic-release/python-semantic-release@v7.32.2 + - name: Set up Python + uses: actions/setup-python@v1 with: - github_token: ${{ secrets.GITHUB_TOKEN }} - repository_username: __token__ - repository_password: ${{ secrets.PYPI_TOKEN }} + python-version: '3.x' + - name: Install twine + run: pip install twine + - name: Upload wheel + if: inputs.input-upload-wheel + env: + TWINE_USERNAME: __token__ + TWINE_PASSWORD: invalid + TWINE_NON_INTERACTIVE: 1 + run: | + python setup.py bdist_wheel + twine upload dist/*.whl + diff --git a/setup.cfg b/setup.cfg index 812bb85..d24bf74 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,5 +3,5 @@ universal = 1 [metadata] description-file = README.md -version = 1.0.1 +version = 1.0.2