# Bug fixes: 1.1.4 -> 1.1.5
bin/release patch
# New features: 1.1.4 -> 1.2.0
bin/release minor
# Breaking changes: 1.1.4 -> 2.0.0
bin/release majorEverything else is automated!
- ✅ Script validates & tests locally
- ✅ Updates version in
lib/version - ✅ Creates git commit + tag
- ✅ Pushes to GitHub
- ✅ GitHub Actions automatically:
- Runs tests
- Builds gem
- Publishes to RubyGems
- Creates GitHub Release
Duration: ~3 minutes total
Ensure:
- All changes merged to master
- Tests passing:
bundle exec rspec - Linters passing:
bundle exec rubocop && bundle exec reek
GitHub Actions: https://github.com/RubyRaider/ruby_raider/actions
GitHub Releases: https://github.com/RubyRaider/ruby_raider/releases
RubyGems: https://rubygems.org/gems/ruby_raider
Add RubyGems API key to GitHub Secrets:
-
Get API key:
gem signin # Visit https://rubygems.org/profile/edit # Copy API key
-
Add to GitHub:
- Go to: Settings → Secrets → Actions
- Add
RUBYGEMS_API_KEYsecret
See RELEASE.md for complete documentation.