LightC Release
Workflow
Follow this checklist when preparing a LightC release.
Decide the version bump from the user request and code changes.
- Patch: bug fixes only.
- Minor: user-visible feature such as a new module, layout mode, or major UX capability.
- Major: incompatible behavior or migration.
Update all version files together.
package.jsonpackage-lock.jsonsrc-tauri/tauri.conf.jsonsrc-tauri/Cargo.tomlsrc-tauri/Cargo.lock
Update release notes.
- Add a new top entry in
CHANGELOG.mdwith## vX.Y.Z (YYYY-MM-DD). - Keep wording concise and user-facing.
- Group entries by feature area, for example
自定义布局,C 盘全盘分析,体验修复. - Include bug fixes that were part of the current release.
- Add a new top entry in
Update GitHub release workflow.
- Edit
.github/workflows/release.yml. - Set
releaseNametoLightC vX.Y.Z. - Refresh
releaseBodyso it summarizes the current release, not the previous release. - Mention
CHANGELOG.mdas the full details source.
- Edit
Update
README.md.- Keep feature descriptions aligned with the new release behavior.
- Keep the release checklist accurate, including all version files.
- Do not rewrite unrelated historical content.
Validate before finishing.
- Run
npm run build. - Run
git diff --check. - Use
rg "old.version|__VERSION__"across release files to catch stale placeholders.
- Run
LightC Specific Notes
- This repo is a Tauri + React desktop app; version drift between frontend and Tauri files can break release artifacts or updater metadata.
.github/workflows/release.ymlbuilds from Git tagsv*; release copy should match the version the user will tag.- Prefer UTF-8 Chinese release notes. If terminal output shows mojibake, inspect files with Node
fs.readFileSync(..., 'utf8')before assuming the file is corrupt. - Keep release changes scoped. Do not refactor application code while doing a release documentation pass unless the user explicitly asks.