Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.8 KB

CONTRIBUTING.md

File metadata and controls

39 lines (29 loc) · 1.8 KB

Contributing

Bug reports and pull requests are welcome on GitLab at https://gitlab.com/rubocop-lts/rubocop-ruby2_2 . This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

To submit a patch, please fork the project and create a patch with tests. Once you're happy with it send a pull request and post a message to the gitter chat.

Release

To release a new version:

  1. Run bin/setup && bin/rake as a tests, coverage, & linting sanity check.
  2. update the version number in version.rb
  3. Run bin/setup && bin/rake again as a secondary check, and to update Gemfile.lock.
  4. run bundle exec rake build:checksum
  5. move the built gem to project root
  6. run bin/checksum to create the missing SHA256 checksum
  7. move the built gem back to pkg/
  8. commit the changes
  9. run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

NOTE: You will need to have a public key in certs/, and list your cert in the gemspec, in order to sign the new release. See: RubyGems Security Guide

Contributors

See: https://gitlab.com/rubocop-lts/rubocop-ruby2_2/-/graphs/main