mirror of
https://github.com/2061360308/NeteaseCloudMusic_PythonSDK.git
synced 2024-11-23 07:29:37 +00:00
chore: fix workflow erros
This commit is contained in:
parent
bc79a64ed8
commit
91ff295c36
@ -2,14 +2,20 @@ import os
|
||||
import subprocess
|
||||
|
||||
# Bump version
|
||||
print('Bumping version...')
|
||||
subprocess.check_call(['bumpversion', 'patch'])
|
||||
|
||||
# Push changes to remote
|
||||
print('Pushing changes to remote...')
|
||||
subprocess.check_call(['git', 'push'])
|
||||
subprocess.check_call(['git', 'push', '--tags'])
|
||||
|
||||
# Run towncrier
|
||||
print('Running towncrier...')
|
||||
subprocess.check_call(['towncrier', '--yes'])
|
||||
|
||||
print("Created newsfragments directory")
|
||||
if not os.path.isdir('./newsfragments'):
|
||||
os.mkdir('./newsfragments')
|
||||
|
||||
print("Done!")
|
Loading…
Reference in New Issue
Block a user