chore:update publish.yml

This commit is contained in:
2061360308 2023-12-20 00:23:36 +08:00
parent b77f65a5da
commit 6824ecbc35
4 changed files with 6 additions and 4 deletions

View File

@ -1,8 +1,8 @@
[bumpversion]
current_version = 0.1.8
current_version = 0.1.7
commit = True
tag = True
[bumpversion:file:package/setup.py]
[bumpversion:file:package/NeteaseCloudMusic/__init__.py]
[bumpversion:file:package/NeteaseCloudMusic/__init__.py]

View File

@ -23,6 +23,7 @@ jobs:
id: get_version
run: |
echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
echo ${{ env.VERSION }}
- name: Install dependencies
run: |
@ -51,6 +52,7 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}

View File

@ -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'

View File

@ -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是否过期了')