Skip to content

Commit 6c8c02a

Browse files
committed
Bump 1.10.1
- [dev] Fix GitHub Action for publishing to PyPI
1 parent 2c0c6c9 commit 6c8c02a

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,13 @@ jobs:
1616
python-version: "3.11"
1717
cache: pip
1818

19-
- name: Install dependencies
20-
run: python -m pip install --upgrade pip setuptools wheel twine
19+
- name: Build package
20+
run: |
21+
python -m pip install -U build twine wheel
22+
python -m build
23+
twine check --strict dist/*
2124
22-
- name: Build dist packages
23-
run: python setup.py sdist bdist_wheel
24-
25-
- name: Upload packages
26-
run: python -m twine upload dist/*
27-
env:
28-
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
29-
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
25+
- name: Publish package
26+
uses: pypa/gh-action-pypi-publish@release/v1
27+
with:
28+
password: ${{ secrets.PYPI_API_TOKEN }}

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1313

1414
### Removed
1515

16+
## [1.10.1](https://pypi.org/project/model-bakery/1.10.1/)
17+
18+
### Changed
19+
- [dev] Fix GitHub Action for publishing to PyPI
20+
1621
## [1.10.0](https://pypi.org/project/model-bakery/1.10.0/)
1722

1823
### Added

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
# built documents.
5555
#
5656
# The short X.Y and the full version, including alpha/beta/rc tags.
57-
version = release = "1.10.0"
57+
version = release = "1.10.1"
5858

5959
# The language for content autogenerated by Sphinx. Refer to documentation
6060
# for a list of supported languages.

model_bakery/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.10.0"
1+
__version__ = "1.10.1"

0 commit comments

Comments
 (0)