Skip to content

Commit

Permalink
Fixed issue with major version increase
Browse files Browse the repository at this point in the history
  • Loading branch information
kirgrim committed Apr 15, 2024
1 parent c210f78 commit 13ac390
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,3 @@ jobs:
- name: Install Build Tools
run: |
python -m pip install build wheel
- name: Build Distribution Packages
run: |
python setup.py bdist_wheel
- name: Publish to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{secrets.PYPI_TOKEN}}
2 changes: 1 addition & 1 deletion version_bump.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def _bump_major_subversion(current_version: str) -> str:
parts = current_version.split(".")

parts[1] = str(int(parts[1]) + 1)
parts[-1] = parts[-1].split('a')[0]
parts[-1] = "0"

version = f".".join(parts)
return version
Expand Down

0 comments on commit 13ac390

Please sign in to comment.