This checklist helps ensure a smooth release process for Credify.
- All tests pass:
cargo test --all - Code is properly formatted:
cargo fmt --all -- --check - No clippy warnings:
cargo clippy --all-targets --all-features -- -D warnings - Documentation builds:
cargo doc --no-deps - Examples run successfully:
-
cargo run --example basic -
cargo run --example batch_validation -
cargo run --example llm_friendly -
cargo run --example llm_simple
-
- CHANGELOG.md is updated with new version
- Version number in Cargo.toml is updated (now v0.2.0)
- README.md badges point to correct URLs
- New LLM validation functions documented
- Verbose output format documented
-
Dry run to check everything:
cargo publish --dry-run
-
Login to crates.io (if not already):
cargo login
-
Publish to crates.io:
cargo publish
-
Create and push a git tag:
git tag -a v0.2.0 -m "Release version 0.2.0 - Enhanced LLM support with verbose validation reports" git push origin v0.2.0 -
GitHub Actions will automatically:
- Run all tests
- Create a GitHub release
- Publish to crates.io (if CRATES_TOKEN secret is set)
- Verify the crate appears on https://crates.io/crates/credify
- Check that documentation is available at https://docs.rs/credify
- Update any dependent projects
- Announce the release (Twitter, Reddit, etc.)
For automatic publishing, add these secrets to your GitHub repository:
- Go to Settings � Secrets � Actions
- Add
CRATES_TOKENwith your crates.io API token
To get your crates.io token:
- Login at https://crates.io
- Go to Account Settings � API Tokens
- Create a new token with publish permissions