Prepare 2.3.0 release and Linux Docker workflows
Desktop CI / tests (push) Failing after 1m51s

This commit is contained in:
benya
2026-09-25 14:02:32 +03:00
parent 0a82ad7e3e
commit bb6de9b737
15 changed files with 759 additions and 315 deletions
+11 -5
View File
@@ -87,7 +87,7 @@ def run_build():
has_icon = os.path.exists(icon_abs_path)
command = [
"pyinstaller",
sys.executable, "-m", "PyInstaller",
"--noconfirm",
"--onedir",
"--windowed",
@@ -120,7 +120,7 @@ def run_updater_build():
if os.path.exists(updater_spec_path):
os.remove(updater_spec_path)
command = [
"pyinstaller",
sys.executable, "-m", "PyInstaller",
"--noconfirm",
"--clean",
"--onefile",
@@ -272,6 +272,10 @@ def build_installer():
if __name__ == "__main__":
if any(arg != "--skip-installer" for arg in sys.argv[1:]):
print("Usage: python build.py [--skip-installer]")
sys.exit(2)
skip_installer = "--skip-installer" in sys.argv[1:]
ensure_project_root()
# Предварительная очистка
for folder in ["build", "dist"]:
@@ -284,12 +288,14 @@ if __name__ == "__main__":
copy_icon_to_dist()
write_version_marker()
create_archive()
build_installer()
if not skip_installer:
build_installer()
print("\n" + "=" * 30)
print("BUILD COMPLETED")
print(f"Release archive: dist/{ARCHIVE_NAME}.zip")
print(f"Release archive SHA256: dist/{ARCHIVE_NAME}.zip.sha256")
print(f"Installer: dist/{INSTALLER_NAME}")
print(f"Installer SHA256: dist/{INSTALLER_NAME}.sha256")
if not skip_installer:
print(f"Installer: dist/{INSTALLER_NAME}")
print(f"Installer SHA256: dist/{INSTALLER_NAME}.sha256")
print("=" * 30)