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
31ec95bcc0
commit
8457dd4cef
2
build.py
2
build.py
@ -13,7 +13,7 @@ def get_specified_tag(index):
|
||||
return subprocess.check_output(['git', 'tag']).decode('utf-8').strip().split("\n")[index]
|
||||
|
||||
def get_changelog():
|
||||
cmd = ['git', 'log', f'{toml.load("./pyproject.toml")["tool"]["poetry"]["version"])}..HEAD', '--pretty=format:"%h %s"']
|
||||
cmd = ['git', 'log', f'{toml.load("./pyproject.toml")["tool"]["poetry"]["version"]}..HEAD', '--pretty=format:"%h %s"']
|
||||
print(cmd)
|
||||
res = subprocess.check_output(cmd).decode('utf-8').strip()
|
||||
res = res.split('\n')
|
||||
|
Loading…
x
Reference in New Issue
Block a user