diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b5e01b8..23fd248 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -36,14 +36,13 @@ jobs: python -m build python tests/build_exe.py - - name: Build Executable1 + - name: Build Executable run: | pyinstaller --onefile --clean --add-data "${{ github.workspace }}/version_list.json;pywxdump" --add-data "${{ github.workspace }}/show_chat/templates/chat.html;pywxdump/show_chat/templates" --add-data "${{ github.workspace }}/show_chat/templates/index.html;pywxdump/show_chat/templates" --distpath=dist --workpath=build --specpath=build --name=pywxdump ${{ github.workspace }}/dist/tmp.py - name: test run: | ls -l dist - ls -l tests - name: Publish package with Twine # 使用 Twine 发布到 PyPI run: | diff --git a/setup.py b/setup.py index 21c1636..8931d3f 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages with open("README.md", "r", encoding="utf-8") as fh: long_description = fh.read() -version = "2.2.10" +version = "2.2.11" install_requires = [ "psutil",