添加自动发布到pypi的github action
This commit is contained in:
parent
99cf2b5552
commit
257a1f4e00
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@ -7,7 +7,7 @@ on:
|
|||||||
- 'v*' # 以 'v' 开头的标签触发工作流程
|
- 'v*' # 以 'v' 开头的标签触发工作流程
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publishNew:
|
publish:
|
||||||
name: Publish Pypi and Create Release
|
name: Publish Pypi and Create Release
|
||||||
if: github.repository == 'xaoyaoo/PyWxDump' # 仅在指定仓库的 tag 触发工作流程
|
if: github.repository == 'xaoyaoo/PyWxDump' # 仅在指定仓库的 tag 触发工作流程
|
||||||
# 此作业在 Linux 上运行
|
# 此作业在 Linux 上运行
|
||||||
|
2
setup.py
2
setup.py
@ -3,7 +3,7 @@ from setuptools import setup, find_packages
|
|||||||
with open("README.md", "r", encoding="utf-8") as fh:
|
with open("README.md", "r", encoding="utf-8") as fh:
|
||||||
long_description = fh.read()
|
long_description = fh.read()
|
||||||
|
|
||||||
version = "2.1.9"
|
version = "2.1.10"
|
||||||
setup(
|
setup(
|
||||||
name="pywxdump",
|
name="pywxdump",
|
||||||
author="xaoyaoo",
|
author="xaoyaoo",
|
||||||
|
Loading…
Reference in New Issue
Block a user