File tree Expand file tree Collapse file tree 2 files changed +5
-14
lines changed Expand file tree Collapse file tree 2 files changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,11 @@ jobs:
1919 python-version : " 3.10"
2020 - name : Setup Poetry
212122- with :
23- poetry-version : 1.2.0b1
24- - name : Setup release plugin
25- run : poetry plugin add poetry-dynamic-versioning-plugin
2622 - name : Install pypi deps
2723 run : poetry install
24+ - name : Version
25+ run : poetry version ${{ github.event.release.tag_name }}
2826 - name : Build
2927 run : poetry build
3028 - name : Publish to PyPi
31- run : poetry publish
29+ run : poetry publish --dry-run
Original file line number Diff line number Diff line change @@ -38,12 +38,5 @@ sphinx-rtd-theme = "^1.0.0"
3838sphinx-autodoc-typehints = " ^1.18.1"
3939
4040[build-system ]
41- # so releasing doesn't have to touch the "version" in this file
42- # we have to use a beta release of poetry and this plugin:
43- # https://pypi.org/project/poetry-dynamic-versioning-plugin/
44- requires = [" poetry>=1.2.0b1" , " poetry-dynamic-versioning-plugin" ]
45- build-backend = " poetry.masonry.api"
46-
47- [tool .poetry-dynamic-versioning ]
48- enable = true
49- style = " semver"
41+ requires = [" poetry-core>=1.0.0" ]
42+ build-backend = " poetry.core.masonry.api"
You can’t perform that action at this time.
0 commit comments