This project uses a two-branch workflow with automated releases.
dev- Integration branch. All PRs merge here.main- Production branch. Only updated via release publish.
Branch names must use one of these prefixes:
| Prefix | Version Bump | Example |
|---|---|---|
feat/ or feature/ |
Minor (1.2.0 → 1.3.0) | feat/add-filters |
major/ |
Major (1.2.0 → 2.0.0) | major/v2-redesign |
fix/, chore/, refactor/, docs/, etc. |
Patch (1.2.0 → 1.2.1) | fix/login-bug |
-
Create a branch from
dev:git checkout dev && git pull git checkout -b feat/my-feature -
Make your changes and commit
-
Bump the version:
pnpm version:bump
-
Push and create a PR to
dev:git push -u origin feat/my-feature
-
CI will validate branch prefix and version, then run lint/build/test
- Go to GitHub Releases
- Review the draft release (auto-generated from merged PRs)
- Click "Publish release"
- This triggers:
- Auto-merge
dev→main - DevOps deploys from
main
- Auto-merge
The app version is exposed via X-App-Version header on API responses
for client staleness detection.