# release > Steps for releasing a new version. - Author: nwiizo - Repository: nwiizo/cargo-coupling - Version: 20251229211446 - Stars: 64 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/nwiizo/cargo-coupling - Web: https://mule.run/skillshub/@@nwiizo/cargo-coupling~release:20251229211446 --- # Release Workflow Skill Steps for releasing a new version. ## Pre-Release Checks ```bash # Format code cargo fmt --all # Lint (treat warnings as errors) cargo clippy --all-targets --all-features -- -D warnings # Run tests cargo test ``` ## Version Bump 1. Update version in `Cargo.toml` 2. Update `Cargo.lock` with `cargo build` 3. Commit with message: `chore: bump version to X.Y.Z` ## Release Commit ```bash git add -A git commit -m "chore: bump version to X.Y.Z" git push ``` ## Automation Pre-commit hook configured in `.claude/settings.json` runs: - `cargo fmt --all --check` - `cargo clippy --all-targets --all-features -- -D warnings`