AudionAudion

Release Preparation

RELEASE_GUIDE_EN.md

Release Preparation

This is the English companion to RELEASE_GUIDE_RU.md.

Quick Check

From the project root:

runtime\python.exe -m py_compile system_core\main.py system_core\image_tools\commands.py system_core\image_tools\pipeline.py system_core\services\image_tools_gui.py system_core\ui_nicegui\app.py system_core\ui_nicegui\window.py

Check the environment:

runtime\python.exe system_core\doctor.py

Check GUI smoke:

runtime\python.exe system_core\ui_nicegui\app.py --smoke

Check new CLI surfaces before packaging:

runtime\python.exe system_core\main.py trim-border --help
runtime\python.exe system_core\main.py smart-crop-white --help
runtime\python.exe system_core\main.py images-to-pdf --help

Cleanup

cleanup_project.cmd is the interactive CMD cleanup script for final project cleanup before rebuild or packaging. It shows the cleanup plan and asks for Y/N/Q.

It clears managed working/runtime/generated areas such as input\, output\, logs\, report\, workspace\, data\, release\, runtime\, wheelhouse\, install\download\, runtime temp folders, Python caches, generated logs, and selected generated tools.

It does not clear:

After cleanup, the script calls install\init_folders.cmd to recreate the managed folder set.

Release Order

  1. Close the GUI and terminals that may hold project files.
  2. Run runtime\python.exe system_core\doctor.py.
  3. Run cleanup_project.cmd and confirm only if the deletion list is expected.
  4. Rebuild portable runtime and wheelhouse if needed.
  5. Build the release through launcher_tools.cmd or install\make_release_archive.cmd.
  6. Check that the archive contains the GUI launcher, RU launcher, configs, runtime, system_core\main.py, user docs, and AGENTS.md.

Rules

All projects