build for release

This commit is contained in:
shenjack 2023-07-17 19:29:33 +08:00
parent 12a69f9076
commit f5a5eb1758
Signed by: shenjack
GPG Key ID: 7B1134A979775551
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,6 @@ elif os.path.abspath(os.curdir) in sys.path and '-env' in sys.argv:
with open('./.github/workflows/env.ps1', encoding='utf-8', mode='w') as env_file: with open('./.github/workflows/env.ps1', encoding='utf-8', mode='w') as env_file:
print(f'$env:DR_version = "{DR_status.DR_version}"', file=env_file) print(f'$env:DR_version = "{DR_status.DR_version}"', file=env_file)
print(f'$env:Build_version = "{DR_status.Build_version}"', file=env_file) print(f'$env:Build_version = "{DR_status.Build_version}"', file=env_file)
elif os.path.abspath(os.curdir) in sys.path and '-github' in sys.argv: elif os.path.abspath(os.curdir) in sys.path and '-github' in sys.argv:
print(f'DR_version={DR_status.DR_version}') print(f'DR_version={DR_status.DR_version}')
print(f'Build_version={DR_status.Build_version}') print(f'Build_version={DR_status.Build_version}')

View File

@ -119,7 +119,8 @@ class CompilerHelper(Options):
return f"{front}\n\n```bash\n{' '.join(gen_cmd)}\n```" return f"{front}\n\n```bash\n{' '.join(gen_cmd)}\n```"
def gen_subprocess_cmd(self) -> List[str]: def gen_subprocess_cmd(self) -> List[str]:
"""生成 nuitka 构建脚本 """
生成 nuitka 构建脚本
Generate nuitka build script Generate nuitka build script
Returns: Returns: