From d70f3659e4ca67185c6d90e026d3ef5e06145c5c Mon Sep 17 00:00:00 2001 From: Sebastian Maj Date: Mon, 15 Nov 2021 20:32:00 -0500 Subject: [PATCH] Removed all references to bump2version (#66) * Removed all references to bump2version * Remove bump version config + update version --- .bumpversion.cfg | 6 ---- .github/workflows/publish-to-pypi-test.yml | 39 ---------------------- setup.py | 2 +- 3 files changed, 1 insertion(+), 46 deletions(-) delete mode 100644 .bumpversion.cfg diff --git a/.bumpversion.cfg b/.bumpversion.cfg deleted file mode 100644 index 6493ceb..0000000 --- a/.bumpversion.cfg +++ /dev/null @@ -1,6 +0,0 @@ -[bumpversion] -current_version = 0.11.8 -commit = True -tag = True - -[bumpversion:file:setup.py] diff --git a/.github/workflows/publish-to-pypi-test.yml b/.github/workflows/publish-to-pypi-test.yml index 50e40f0..43cc1ae 100644 --- a/.github/workflows/publish-to-pypi-test.yml +++ b/.github/workflows/publish-to-pypi-test.yml @@ -70,24 +70,6 @@ jobs: run: | python -m pip install build --user - - name: Install bump2version - run: | - python -m pip install bump2version - if: github.ref == 'refs/heads/master' - - - name: Assign Git User Email - run: | - git config --global user.email "mrbump@nebra.com" - - - name: Assign Git User Name - run: | - git config --global user.name "Mr Bump Nebra" - - - name: Bump Version - run: | - bump2version patch setup.py - if: github.ref == 'refs/heads/master' - - name: Build a binary wheel and a source tarball run: | python -m build --sdist --wheel --outdir dist/ . @@ -107,24 +89,3 @@ jobs: password: ${{ secrets.TEST_PYPI_API_TOKEN }} repository_url: https://test.pypi.org/legacy/ if: github.ref == 'refs/heads/master' - - release: - runs-on: ubuntu-latest - needs: [build-n-publish] - if: github.ref == 'refs/heads/master' - steps: - - uses: actions/checkout@master - - name: Create release - uses: Roang-zero1/github-create-release-action@master - with: - version_regex: ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+ - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Create GitHub release - uses: Roang-zero1/github-upload-release-artifacts-action@master - with: - args: '[ - , ./dist/* - ]' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/setup.py b/setup.py index cd7f3ca..ff31120 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name='hm_pyhelper', - version='0.11.8', + version='0.11.10', author="Nebra Ltd", author_email="support@nebra.com", description="Helium Python Helper",