build: [release] 尝试修复构建

This commit is contained in:
helloplhm-qwq 2024-01-31 22:56:32 +08:00
parent 5c167b911c
commit b615f42a19
No known key found for this signature in database
GPG Key ID: B7542212855B2C26

View File

@ -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',