NeteaseCloudMusic_PythonSDK/publish.py

12 lines
279 B
Python
Raw Normal View History

2023-12-19 17:10:25 +00:00
import os
import subprocess
# Bump version
subprocess.check_call(['bumpversion', 'patch'])
# Push changes to remote
subprocess.check_call(['git', 'push'])
subprocess.check_call(['git', 'push', '--tags'])
# Run towncrier
subprocess.check_call(['towncrier', '--yes'])