The module is published to RubyGems under the gem name plaid.
Prepare release:
- update
lib/plaid/version.rb
, andCHANGELOG.md
files. - run
bundle
to bump the version inGemfile.lock
- create and merge a PR with the changes from 1 and 2.
- authenticate with rubygems with
gem signin
or manually set up your~/.gem/credentials
Publish:
git checkout master
andgit pull
(makes sure yourHEAD
is up-to-date).- Check that tests are passing on latest
master
build and (optional)bundle exec rake test
to run tests locally 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" herebundle exec rake update_github_docs
(generates RDoc files, updatesgh-pages
branch and pushes it to GitHub). (If you run into agh-pages
branch error, you may need to manually rungit checkout gh-pages
to ensure the branch is checked out locally.)