Git & Release Workflow
Commit Messages
IMPORTANT: This project uses commitlint. Commits that don’t follow the format will be rejected by the pre-commit hook.Format
- Subject line:
type(scope): descriptionortype: description - Types allowed:
build,chore,ci,docs,feat,fix,perf,refactor,revert,style,test - Line length: Body lines must NOT exceed 100 characters
- Scope: Optional, e.g.
feat(auth): add login page
Examples
Releases
IMPORTANT: Never create a release without explicit user consent. Releases are irreversible and affect all downstream projects.When Asked to Make a Release
Note: If the user asks to “commit and make a release”, they likely mean “commit, push, and then release”. Ask for clarification to confirm they want to push changes before triggering the release. Read thedocs/releases.md file for the complete release process. Key steps:
- Ensure all desired changes are committed and pushed
- Ask about updating UPGRADE.md
- Confirm with the user before proceeding
- Use
bin/release.shwith--dry-runfirst, then execute the release