Instruction file imported from sriverogalan/better-screenshoot (
.cursor/rules/git-branching.mdc). Copyright stays with the author.
Git: branches and releases
Branches
mainis production. Releases are cut frommainonly.developis integration. Feature PRs targetdevelopby default.- New branches from
develop:feat/*,fix/*,chore/*,release/*. - PRs to
main; title[better-screenshoot] ….
Commits
- Conventional Commits:
feat:,fix:,chore:,docs:,ci:. - One PR = one goal. Don't mix feature + version bump without reason.
Versions
Bump only the root package.json version. CI syncs the rest on PRs (pnpm sync-version). Targets: Cargo.toml, tauri.conf.json, and workspace package.json files.
Releases
- Semver tag from
main:v0.2.0. - Build and upload locally from
main:pnpm release:mac v0.2.0 --all-arch(script exits on other branches). - See
docs/branching.mdfor the full flow.