build: [release] 我来刷版本号辣

This commit is contained in:
helloplhm-qwq 2024-01-31 23:24:06 +08:00
parent de46ab907f
commit 67571e37c1
No known key found for this signature in database
GPG Key ID: B7542212855B2C26

View File

@ -14,7 +14,7 @@ def get_specified_tag(index):
def get_changelog():
res = subprocess.check_output(
['git', 'log', f'{get_specified_tag(-2)}..get_specified_tag(-1)', '--pretty=format:"%h %s"']).decode('utf-8').strip()
['git', 'log', f'{get_specified_tag(-2)}..{get_specified_tag(-1)}', '--pretty=format:"%h %s"']).decode('utf-8').strip()
res = res.split('\n')
featMsg = []
fixMsg = []