From ded7cb5241ea3d9c9b709b87ae4fd09a4f012dff Mon Sep 17 00:00:00 2001 From: 2061360308 <2061360308@qq.com> Date: Wed, 20 Dec 2023 00:37:00 +0800 Subject: [PATCH] chore:update publish.yml --- .bumpversion.cfg | 2 +- .github/workflows/publish.yml | 2 ++ package/NeteaseCloudMusic/__init__.py | 2 +- package/setup.py | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 790b763..7760714 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.1.8 +current_version = 0.1.7 commit = True tag = True diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8606306..2d07f05 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,6 +29,7 @@ jobs: echo ${{ env.VERSION }} echo ${{ github.ref }} ls ./package/dist/ + cat ./package/setup.py - name: Install dependencies run: | @@ -46,6 +47,7 @@ jobs: run: | cd package python setup.py build + ls ./dist/ - name: Publish distribution 📦 to PyPI run: | diff --git a/package/NeteaseCloudMusic/__init__.py b/package/NeteaseCloudMusic/__init__.py index 91e4dfd..18f2766 100644 --- a/package/NeteaseCloudMusic/__init__.py +++ b/package/NeteaseCloudMusic/__init__.py @@ -2,4 +2,4 @@ from .main import NeteaseCloudMusicApi from .help import api_help, api_list from .utils import format_cookie_str, prase_cookie_str -__version__ = '0.1.8' +__version__ = '0.1.7' diff --git a/package/setup.py b/package/setup.py index 2b2b7b7..bc0eff1 100644 --- a/package/setup.py +++ b/package/setup.py @@ -19,7 +19,7 @@ URL = 'https://github.com/2061360308/NeteaseCloudMusic_PythonSDK' EMAIL = '2061360308@qq.com' AUTHOR = '盧瞳' REQUIRES_PYTHON = '>=3.6.0' -VERSION = '0.1.8' +VERSION = '0.1.7' UPDATA_INFO = ('修复了初次使用时没有cookie导致的一系列问题\n' '修复了NeteaseCloudMusicApi.js没有更新的问题\n' '添加了对于cookie的判断,现在可以正常判断cookie是否过期了')