| name | lightc-release |
| description | Prepare LightC release metadata and documentation. Use when the user asks to publish a new version, bump LightC version numbers, update CHANGELOG.md, update .github/workflows/release.yml, update README.md release notes, or avoid repeating the same release-document prompts for this Tauri + React project. |
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.json
package-lock.json
src-tauri/tauri.conf.json
src-tauri/Cargo.toml
src-tauri/Cargo.lock
-
Update release notes.
- Add a new top entry in
CHANGELOG.md with ## 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.
-
Update GitHub release workflow.
- Edit
.github/workflows/release.yml.
- Set
releaseName to LightC vX.Y.Z.
- Refresh
releaseBody so it summarizes the current release, not the previous release.
- Mention
CHANGELOG.md as the full details source.
-
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.
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.yml builds from Git tags v*; 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.