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

This commit is contained in:
helloplhm-qwq 2024-01-31 23:30:07 +08:00
parent 67571e37c1
commit 27a02d0709
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(): def get_changelog():
res = subprocess.check_output( 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_latest_tag()}..HEAD', '--pretty=format:"%h %s"']).decode('utf-8').strip()
res = res.split('\n') res = res.split('\n')
featMsg = [] featMsg = []
fixMsg = [] fixMsg = []