File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish to PyPI
2+
3+ on :
4+ push :
5+ tags :
6+ - " v*.*.*"
7+
8+ jobs :
9+ publish :
10+ name : Build and publish
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout repository
14+ uses : actions/checkout@v4
15+
16+ - name : Set up Python
17+ uses : actions/setup-python@v5
18+ with :
19+ python-version : " 3.11"
20+
21+ - name : Install build tools
22+ run : pip install build twine
23+
24+ - name : Build distribution
25+ run : python -m build
26+
27+ - name : Publish to PyPI
28+ uses : pypa/gh-action-pypi-publish@release/v1
29+ with :
30+ user : __token__
31+ password : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " bilitickerbuy"
7- version = " 0.1.0 "
7+ version = " 2.14.4 "
88description = " 开源的 B 站会员购辅助工具,提供命令行和 Gradio 界面"
99readme = " README.md"
1010requires-python = " >=3.11"
@@ -43,6 +43,10 @@ dependencies = [
4343 " tinydb~=4.8.0" ,
4444 " Pillow~=10.3.0" ,
4545]
46+ [project .urls ]
47+ Homepage = " https://github.com/mikumifa/biliTickerBuy"
48+ Source = " https://github.com/mikumifa/biliTickerBuy"
49+
4650[project .scripts ]
4751bilitickerbuy = " main:main"
4852btb = " main:main"
You can’t perform that action at this time.
0 commit comments