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
220bf6831b
commit
6d798d807b
3
build.py
3
build.py
@ -6,7 +6,8 @@ import os
|
||||
|
||||
|
||||
def get_latest_tag():
|
||||
return subprocess.check_output(['git', 'describe', '--abbrev=0', '--tags']).decode('utf-8').strip()
|
||||
t = subprocess.check_output(['git', 'tag']).decode('utf-8').strip().split("\n")
|
||||
return t[-1] if (t[-1] != toml.load("./pyproject.toml")["tool"]["poetry"]["version"]) else t[-2]
|
||||
|
||||
|
||||
def get_changelog():
|
||||
|
Loading…
x
Reference in New Issue
Block a user