Codebase list ruby-maxmind-db / 5985b010-db8e-4419-bc7b-3cf00c1d10ec/upstream README.dev.md
5985b010-db8e-4419-bc7b-3cf00c1d10ec/upstream

Tree @5985b010-db8e-4419-bc7b-3cf00c1d10ec/upstream (Download .tar.gz)

README.dev.md @5985b010-db8e-4419-bc7b-3cf00c1d10ec/upstreamview markup · raw · history · blame

How to release

  • Ensure tests pass: rake
  • Update changelog: Set version and release date
  • Set version in maxmind-db.gemspec
  • Add them: git add -p
  • Commit: git commit -m v1.0.0
  • Tag: git tag -a v1.0.0 -m v1.0.0
  • Clean up to be sure nothing stray gets into gem: git clean -dxff
  • Create .gem file: gem build maxmind-db.gemspec
  • Complete prerequisites (see below)
  • You only need to do this if ~/.gem/credentials is missing :rubygems_api_key.
  • Upload to rubygems.org: gem push maxmind-db-1.0.0.gem
  • Push: git push
  • Push tag: git push --tags
  • Double check it looks okay at https://rubygems.org/gems/maxmind-db and https://www.rubydoc.info/gems/maxmind-db

Prerequisites

Step 1

Sign up for an account at rubygems.org if you don't have one.

Enable multi factor authentication.

Step 2

Ask someone who is an owner of the gem to add you as one.

They do this by using the gem owner command (docs).

Step 3

Go to your rubygems.org profile and find the curl command to run to download your API key.