mirror of
https://github.com/MeoProject/lx-music-api-server.git
synced 2025-05-23 19:17:41 +08:00
build: [release] 我来刷版本号辣
This commit is contained in:
parent
896dd6f698
commit
878a9f8c0d
4
build.py
4
build.py
@ -13,8 +13,8 @@ def get_specified_tag(index):
|
|||||||
return subprocess.check_output(['git', 'tag']).decode('utf-8').strip().split("\n")[index]
|
return subprocess.check_output(['git', 'tag']).decode('utf-8').strip().split("\n")[index]
|
||||||
|
|
||||||
def get_changelog():
|
def get_changelog():
|
||||||
res = subprocess.check_output(
|
cmd = ['git', 'log', f'{get_latest_tag()}..HEAD', '--pretty=format:"%h %s"']
|
||||||
['git', 'log', f'{get_latest_tag()}..HEAD', '--pretty=format:"%h %s"']).decode('utf-8').strip()
|
res = subprocess.check_output(cmd).decode('utf-8').strip()
|
||||||
res = res.split('\n')
|
res = res.split('\n')
|
||||||
featMsg = []
|
featMsg = []
|
||||||
fixMsg = []
|
fixMsg = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user