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:
19
19
python-version : " 3.10"
20
20
- name : Setup Poetry
21
21
22
- with :
23
- poetry-version : 1.2.0b1
24
- - name : Setup release plugin
25
- run : poetry plugin add poetry-dynamic-versioning-plugin
26
22
- name : Install pypi deps
27
23
run : poetry install
24
+ - name : Version
25
+ run : poetry version ${{ github.event.release.tag_name }}
28
26
- name : Build
29
27
run : poetry build
30
28
- 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"
38
38
sphinx-autodoc-typehints = " ^1.18.1"
39
39
40
40
[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