Skip to content

Commit

Permalink
Removed all references to bump2version (#66)
Browse files Browse the repository at this point in the history
* Removed all references to bump2version

* Remove bump version config + update version
  • Loading branch information
Sebastian Maj authored Nov 16, 2021
1 parent ddd2943 commit d70f365
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 46 deletions.
6 changes: 0 additions & 6 deletions .bumpversion.cfg

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/publish-to-pypi-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "[email protected]"
- 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/ .
Expand All @@ -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 }}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name='hm_pyhelper',
version='0.11.8',
version='0.11.10',
author="Nebra Ltd",
author_email="[email protected]",
description="Helium Python Helper",
Expand Down

0 comments on commit d70f365

Please sign in to comment.