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
5c167b911c
commit
b615f42a19
3
build.py
3
build.py
@ -1,4 +1,5 @@
|
||||
import subprocess
|
||||
import toml
|
||||
import sys
|
||||
import re
|
||||
import os
|
||||
@ -121,7 +122,7 @@ def build_release(fileName = ''):
|
||||
'Please check if you forgetting to activate the virtualenv.', sep='\n')
|
||||
sys.exit(1)
|
||||
|
||||
vername = get_latest_tag()
|
||||
vername = toml.load("./pyproject.toml")["tool"]["poetry"]["version"]
|
||||
|
||||
popen = subprocess.Popen([get_python_path(),
|
||||
'-m',
|
||||
|
Loading…
x
Reference in New Issue
Block a user