github-release-best-practices
GitHub Release Best Practices
Release management for Rust workspaces with versioning, changelog, and quality gates.
Key Steps
- Quality Gates:
./scripts/quality-gates.sh - Version Bump: Update
Cargo.tomlworkspace version - Changelog: Update
CHANGELOG.md(Keep a Changelog format) - Tag + Push:
git tag -a v0.X.Y -m "Release v0.X.Y" && git push origin v0.X.Y - GitHub Release:
gh release create v0.X.Y --title "v0.X.Y" --notes-file CHANGELOG.md
Semver Matrix
| Change Type | Bump | Example |
|---|---|---|
| Breaking | MAJOR | 0.1.7 → 1.0.0 |
| New Feature | MINOR | 0.1.7 → 0.2.0 |
| Bug Fix | PATCH | 0.1.7 → 0.1.8 |
For 0.x: MINOR for most changes, PATCH for critical bug fixes.
Changelog Categories
- Added - New features
- Changed - Modified functionality
- Deprecated - Planned removals
- Removed - Deleted features
- Fixed - Bug fixes
- Security - Vulnerability patches
Modern Tooling (ADR-034)
# API compatibility check
cargo semver-checks check-release --workspace
# Version bump automation
cargo release patch # handles version + commit + tag
# Binary distribution
cargo dist init # generates release.yml workflow
CRITICAL: Cargo.toml version must match git tag (without 'v'). Use cargo release to ensure atomicity.
Release Notes Template
## Summary
Brief description of changes.
## Fixed / Changed / Added
- Item 1
- Item 2
## Performance / Security (if applicable)
- Metrics, improvements
## Full Changelog
https://github.com/d-o-hub/rust-self-learning-memory/compare/v0.1.7...v0.1.8
References
- ADR-034: Release Engineering Modernization
- ADR-031: Cargo Lock Integrity
More from d-o-hub/rust-self-learning-memory
loop-agent
Execute workflow agents iteratively for refinement and progressive improvement until quality criteria are met. Use when tasks require repetitive refinement, multi-iteration improvements, progressive optimization, or feedback loops until convergence.
51web-search-researcher
Research topics using web search and content fetching to find accurate, current information. Use when you need modern information, official documentation, best practices, technical solutions, or comparisons beyond your training data.
46perplexity-researcher-reasoning-pro
Highest level of research and reasoning capabilities for complex decision-making with significant consequences, strategic planning, technical architecture decisions, multi-stakeholder problems, or high-complexity troubleshooting requiring expert-level judgment and sophisticated reasoning chains. Prioritizes actively maintained repositories and validates website sources for 2025 relevance.
44context-retrieval
Retrieve relevant episodic context from memory for informed decision-making. Use when you need past episodes, patterns, or solutions to similar tasks.
44rust-code-quality
Perform comprehensive Rust code quality reviews against best practices for async Rust, error handling, testing, and project structure
43codebase-analyzer
Analyze implementation details, trace data flow, explain technical workings, locate files, and consolidate codebases. Use when you need to understand HOW code works, find file locations, or assess technical debt.
40