Skip to content

Commit 80e94f9

Browse files
gitrcclaude
andcommitted
Add CI/CD and release process docs to CLAUDE.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f88430e commit 80e94f9

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,17 @@ Key modules in `src/`:
5454
- **error.rs** — Unified error type and `Result` alias
5555

5656
Integration tests live in `tests/integration.rs`.
57+
58+
## CI/CD
59+
60+
- **CI** (`.github/workflows/ci.yml`): Runs on every push/PR — `cargo test`, `cargo clippy -- -D warnings`, `cargo fmt --check`. Must pass before merging.
61+
- **Release** (`.github/workflows/release.yml`): Triggered by pushing a `v*` tag. Builds binaries for 4 targets (macOS x86_64/ARM64, Linux x86_64/ARM64) and creates a GitHub release with the artifacts.
62+
63+
## Release Process
64+
65+
1. Bump `version` in `Cargo.toml`
66+
2. Commit and push
67+
3. `git tag v<version> && git push origin v<version>`
68+
4. Release workflow builds binaries and publishes the GitHub release automatically
69+
70+
Tags cannot be deleted once published (repo rule), so always use a new version number.

0 commit comments

Comments
 (0)