添加自动发布到pypi的github action

This commit is contained in:
xaoyo 2023-10-31 18:51:07 +08:00
parent 99cf2b5552
commit 257a1f4e00
2 changed files with 2 additions and 2 deletions

View File

@ -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 上运行

View File

@ -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",