mirror of
https://github.com/2061360308/NeteaseCloudMusic_PythonSDK.git
synced 2024-11-21 22:48:03 +00:00
chore:update publish.yml
This commit is contained in:
parent
7eae0e013e
commit
489d32c0e3
@ -1,5 +1,5 @@
|
||||
[bumpversion]
|
||||
current_version = 0.1.8
|
||||
current_version = 0.1.7
|
||||
commit = True
|
||||
tag = True
|
||||
|
||||
|
11
.github/workflows/publish.yml
vendored
11
.github/workflows/publish.yml
vendored
@ -21,7 +21,8 @@ jobs:
|
||||
|
||||
- name: Get the version
|
||||
id: get_version
|
||||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
|
||||
run: |
|
||||
echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
@ -64,8 +65,8 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./package/dist/NeteaseCloudMusic-${{ steps.get_version.outputs.VERSION }}.tar.gz
|
||||
asset_name: NeteaseCloudMusic-${{ steps.get_version.outputs.VERSION }}.tar.gz
|
||||
asset_path: ./package/dist/NeteaseCloudMusic-${{ env.VERSION }}.tar.gz
|
||||
asset_name: NeteaseCloudMusic-${{ env.VERSION }}.tar.gz
|
||||
asset_content_type: application/zip
|
||||
|
||||
- name: Upload Release Asset whl
|
||||
@ -74,6 +75,6 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./package/dist/NeteaseCloudMusic-${{ steps.get_version.outputs.VERSION }}-py2.py3-none-any.whl
|
||||
asset_name: NeteaseCloudMusic-${{ steps.get_version.outputs.VERSION }}-py2.py3-none-any.whl
|
||||
asset_path: ./package/dist/NeteaseCloudMusic-${{ env.VERSION }}-py2.py3-none-any.whl
|
||||
asset_name: NeteaseCloudMusic-${{ env.VERSION }}-py2.py3-none-any.whl
|
||||
asset_content_type: application/zip
|
||||
|
@ -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'
|
||||
|
@ -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是否过期了')
|
||||
|
Loading…
Reference in New Issue
Block a user