File tree Expand file tree Collapse file tree 4 files changed +16
-12
lines changed
Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Original file line number Diff line number Diff 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 }}
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 1- __version__ = "1.10.0 "
1+ __version__ = "1.10.1 "
You can’t perform that action at this time.
0 commit comments