Releasing Kward

Release steps before publishing:

  1. Update CHANGELOG.md for the version.
  2. Update Kward::VERSION in lib/kward/version.rb.
  3. Run the test suite:
   bundle exec rake test
  1. Generate documentation:
   bundle exec rake rdoc
   bundle exec yard doc
  1. Build the gem locally:
   gem build kward.gemspec
  1. Inspect the packaged files and confirm no local config, sessions, logs, or secrets are included.
  2. Install the built gem locally and smoke test the kward executable.

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.