From 1a8f4f0c2142a4c5f5c999423b8eddd5446ad984 Mon Sep 17 00:00:00 2001 From: Justin Williams Date: Wed, 25 Nov 2026 08:33:21 -0800 Subject: [PATCH] chore: adopt conventional commits AGENTS.md states the convention, and release.ps1 commits a release as chore(release): v. The tag and the release name are unchanged. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 1 + scripts/release.ps1 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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