diff --git a/AGENTS.md b/AGENTS.md index 9a9893b..fddf86a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -6,6 +6,7 @@ Tightbeam is private chat between two people on the same LAN: a Rust backend (Ta - A change is done when the checks in `.github/workflows/ci.yml` pass locally: the UI check from the project root, and fmt, clippy and tests in `src-tauri/`. - A change people will notice also gets a line under `## Unreleased` in `CHANGELOG.md`. That section becomes the release text. +- Commit messages and PR titles follow Conventional Commits (`feat:`, `fix:`, `refactor:`, `docs:`, `chore:` …). PRs squash-merge, so the title becomes the commit on `main`. ## Compatibility between versions diff --git a/scripts/release.ps1 b/scripts/release.ps1 index c1c0c2c..c82fdc9 100644 --- a/scripts/release.ps1 +++ b/scripts/release.ps1 @@ -75,7 +75,7 @@ if ($current -ne $Version) { if ($LASTEXITCODE -ne 0) { throw 'cargo update failed' } } -Invoke-Git commit --quiet -m "Release $tag" -- $changelog $manifest src-tauri/Cargo.lock +Invoke-Git commit --quiet -m "chore(release): $tag" -- $changelog $manifest src-tauri/Cargo.lock Invoke-Git tag -a $tag -m "Tightbeam $Version" # Both or neither, so a tag never points at a commit GitHub doesn't have. Invoke-Git push --atomic origin main $tag