File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ jobs:
19
19
version="${{ github.event.release.tag_name }}"
20
20
version="${version,,}" # lowercase it
21
21
version="${version#v}" # remove `v`
22
- sed -i "s/version = \"0.0 .0\"/version = \"${version}\"/" pyproject.toml
22
+ sed -i "s/version = \"0\.0\ .0\"/version = \"${version}\"/" pyproject.toml
23
23
- name : Install wheel
24
24
run : >-
25
25
pip install wheel build
26
26
- name : Build
27
27
run : >-
28
28
python3 -m build
29
29
- name : Publish distribution to PyPI
30
- uses : pypa/gh-action-pypi-publish@master
30
+ uses : pypa/gh-action-pypi-publish@release/v1
31
31
with :
32
32
password : ${{ secrets.PYPI_TOKEN }}
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ urls = {repository = "https://github.com/zigpy/zigpy-cli"}
10
10
authors = [
11
11
{
name =
" puddly" ,
email =
" [email protected] " }
12
12
]
13
+ readme = " README.md"
13
14
license = {text = " GPL-3.0" }
14
15
requires-python = " >=3.8"
15
16
dependencies = [
@@ -21,11 +22,6 @@ dependencies = [
21
22
" zigpy-deconz>=0.18.0" ,
22
23
" zigpy-znp>=0.8.0" ,
23
24
]
24
- dynamic = [" readme" ]
25
-
26
- [tool .setuptools .dynamic ]
27
- version = {attr = " zigpy_cli.__version__" }
28
- readme = {file = " README.md" }
29
25
30
26
[tool .setuptools .packages .find ]
31
27
exclude = [" tests" , " tests.*" ]
You can’t perform that action at this time.
0 commit comments