Skip to content

Commit

Permalink
Release 0.4.0 (#1025)
Browse files Browse the repository at this point in the history
* Bump version

* Update PyPI upload CI
  • Loading branch information
qubvel authored Jan 8, 2025
1 parent d230460 commit 12f8394
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip uv
python -m uv pip install setuptools wheel twine
pip install --upgrade pip uv
uv pip install build twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
python -m build
twine upload dist/*
2 changes: 1 addition & 1 deletion segmentation_models_pytorch/__version__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VERSION = (0, 3, "5dev0")
VERSION = (0, 4, 0)

__version__ = ".".join(map(str, VERSION))

0 comments on commit 12f8394

Please sign in to comment.