Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 1.11 KB

PUBLISH.md

File metadata and controls

20 lines (14 loc) · 1.11 KB

Publishing

The module is published to RubyGems under the gem name plaid.

Prepare release:

  1. update lib/plaid/version.rb, and CHANGELOG.md files.
  2. run bundle to bump the version in Gemfile.lock
  3. create and merge a PR with the changes from 1 and 2.
  4. authenticate with rubygems with gem signin or manually set up your ~/.gem/credentials

Publish:

  1. git checkout master and git pull (makes sure your HEAD is up-to-date).
  2. Check that tests are passing on latest master build and (optional) bundle exec rake test to run tests locally
  3. bundle exec rake release (builds the gem, creates a tag, pushes the gem to RubyGems and tag to GitHub). NOTE: if this step hangs indefinitely, you need to set your MFA settings to "UI Only" here
  4. bundle exec rake update_github_docs (generates RDoc files, updates gh-pages branch and pushes it to GitHub). (If you run into a gh-pages branch error, you may need to manually run git checkout gh-pages to ensure the branch is checked out locally.)