Releasing Kward
Release steps before publishing:
- Update
CHANGELOG.mdfor the version. - Update
Kward::VERSIONinlib/kward/version.rb. - Run the test suite:
bundle exec rake test
- Generate documentation:
bundle exec rake rdoc
bundle exec yard doc
- Build the gem locally:
gem build kward.gemspec
- Inspect the packaged files and confirm no local config, sessions, logs, or secrets are included.
- Install the built gem locally and smoke test the
kwardexecutable.
Publish the built gem from the release checkout:
gem push kward-VERSION.gem
RubyGems MFA is required for publishing. Prefer RubyGems trusted publishing for automated releases if CI publishing is added later, so long-lived API keys do not need to be stored in CI secrets.