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:
1919 version="${{ github.event.release.tag_name }}"
2020 version="${version,,}" # lowercase it
2121 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
2323 - name : Install wheel
2424 run : >-
2525 pip install wheel build
2626 - name : Build
2727 run : >-
2828 python3 -m build
2929 - name : Publish distribution to PyPI
30- uses : pypa/gh-action-pypi-publish@master
30+ uses : pypa/gh-action-pypi-publish@release/v1
3131 with :
3232 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"}
1010authors = [
1111 {
name =
" puddly" ,
email =
" [email protected] " }
1212]
13+ readme = " README.md"
1314license = {text = " GPL-3.0" }
1415requires-python = " >=3.8"
1516dependencies = [
@@ -21,11 +22,6 @@ dependencies = [
2122 " zigpy-deconz>=0.18.0" ,
2223 " zigpy-znp>=0.8.0" ,
2324]
24- dynamic = [" readme" ]
25-
26- [tool .setuptools .dynamic ]
27- version = {attr = " zigpy_cli.__version__" }
28- readme = {file = " README.md" }
2925
3026[tool .setuptools .packages .find ]
3127exclude = [" tests" , " tests.*" ]
You can’t perform that action at this time.
0 commit comments