chore:update publish.yml

This commit is contained in:
2061360308 2023-12-20 00:37:00 +08:00
parent 5939f867a5
commit ded7cb5241
4 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,5 @@
[bumpversion] [bumpversion]
current_version = 0.1.8 current_version = 0.1.7
commit = True commit = True
tag = True tag = True

View File

@ -29,6 +29,7 @@ jobs:
echo ${{ env.VERSION }} echo ${{ env.VERSION }}
echo ${{ github.ref }} echo ${{ github.ref }}
ls ./package/dist/ ls ./package/dist/
cat ./package/setup.py
- name: Install dependencies - name: Install dependencies
run: | run: |
@ -46,6 +47,7 @@ jobs:
run: | run: |
cd package cd package
python setup.py build python setup.py build
ls ./dist/
- name: Publish distribution 📦 to PyPI - name: Publish distribution 📦 to PyPI
run: | run: |

View File

@ -2,4 +2,4 @@ from .main import NeteaseCloudMusicApi
from .help import api_help, api_list from .help import api_help, api_list
from .utils import format_cookie_str, prase_cookie_str from .utils import format_cookie_str, prase_cookie_str
__version__ = '0.1.8' __version__ = '0.1.7'

View File

@ -19,7 +19,7 @@ URL = 'https://github.com/2061360308/NeteaseCloudMusic_PythonSDK'
EMAIL = '2061360308@qq.com' EMAIL = '2061360308@qq.com'
AUTHOR = '盧瞳' AUTHOR = '盧瞳'
REQUIRES_PYTHON = '>=3.6.0' REQUIRES_PYTHON = '>=3.6.0'
VERSION = '0.1.8' VERSION = '0.1.7'
UPDATA_INFO = ('修复了初次使用时没有cookie导致的一系列问题\n' UPDATA_INFO = ('修复了初次使用时没有cookie导致的一系列问题\n'
'修复了NeteaseCloudMusicApi.js没有更新的问题\n' '修复了NeteaseCloudMusicApi.js没有更新的问题\n'
'添加了对于cookie的判断现在可以正常判断cookie是否过期了') '添加了对于cookie的判断现在可以正常判断cookie是否过期了')