Git Workflow & Release Strategy¶
Lich Toolkit follows a Collaboration-First git workflow.
The Golden Rule: Semantic Commits¶
All commits MUST follow the Conventional Commits specification. This allows us to automate: 1. Changelogs (Automatically generated) 2. Versioning (Semantic Versioning) 3. Release Notes (Beautiful & structured)
1. When working with AI (Antigravity) 🤖¶
This is the preferred method. When you ask the AI to make changes, it will automatically: 1. Write code. 2. Run tests. 3. Generate a perfect Semantic Commit message for you.
You just say: "Implement Google Auth"
AI does: feat(auth): add google oauth integration with auto-redirect
2. When working manually (Solo) 🧑💻¶
When you are coding alone in the terminal, use the Lich Git Tools to ensure you stay compliant.
lich commit¶
Opens an interactive wizard to build a perfect commit message.
$ lich commit
# Wizard asks:
# 1. Type (feat, fix, docs...)
# 2. Scope (optional)
# 3. Description
# -> Generates: feat(ui): upate button styles
lich tag¶
Creates a version tag safely.
lich push¶
Pushes your code to origin securely.
3. Release Process¶
To release a new version:
- Ensure CI Passes: Run
lich cior check GitHub. - Tag & Push:
- Done: GitHub Actions will detect the tag, build the package, and publish the release.